ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
PropertyBag Class
PropertyBag Methods
Add Method
ClearNoCheck Method
ContainsKey Method
Remove Method
RemovePropertyNoCheck Method
SetPropertyNoCheck Method
TryGetValue Method

# PropertyBag Methods

The PropertyBag type exposes the following members.

Methods

| Name | Description
--- | --- | ---
| Add | Adds a property to the PropertyBag.
| ClearNoCheck | Removes all properties without checking whether the PropertyBag is read-only.
| ContainsKey | Determines whether the PropertyBag contains a property with the specified name.
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object)
| GetHashCode | Serves as the default hash function. (Inherited from Object)
| GetType | Gets the Type of the current instance. (Inherited from Object)
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
| Remove | Removes a property from the PropertyBag.
| RemovePropertyNoCheck | Removes a property without checking whether the PropertyBag is read-only.
| SetPropertyNoCheck | Sets a property value without checking whether the PropertyBag is read-only.
| ToString | Returns a string that represents the current object. (Inherited from Object)
| TryGetValue | Looks up a property value in the PropertyBag.

Top
See Also

#### Reference

PropertyBag Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft