PropertyBag Class

PropertyBag Class

 

Provides an IDictionary interface to pass a collection of key/value pair variables to IIS Manager.

Namespace:   Microsoft.Web.Management.Server
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

System.Object
  Microsoft.Web.Management.Server.PropertyBag

public sealed class PropertyBag : IDictionary, ICollection, IEnumerable

NameDescription
System_CAPS_pubmethodPropertyBag()

Initializes a new instance of the PropertyBag class with no state tracking.

System_CAPS_pubmethodPropertyBag(Boolean)

Initializes a new instance of the PropertyBag class, using the specified state tracking.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of items in the collection.

System_CAPS_pubpropertyIsTrackingState

Gets a value indicating whether the collection is tracking state.

System_CAPS_pubpropertyItem[Int32]

Gets or sets the element at the specified index location in the property bag.

System_CAPS_pubpropertyKeys

Gets a collection that contains the keys of the collection.

System_CAPS_pubpropertyModifiedKeys

Gets the collection of keys that have been modified since the bag was cloned.

System_CAPS_pubpropertyValues

Gets a collection that contains the values of the collection.

NameDescription
System_CAPS_pubmethodAdd(Int32, Object)

Adds an element that has the specified integer key and value to the collection.

System_CAPS_pubmethodClone()

Creates a new copy of the collection with state tracking enabled.

System_CAPS_pubmethodClone(Boolean)

Creates a new copy of the collection with state tracking enabled, and that is optionally read-only.

System_CAPS_pubmethodContains(Int32)

Determines whether the collection contains an element that has the specified key.

System_CAPS_pubmethodSystem_CAPS_staticCreatePropertyBagFromState(String)

Deserializes a property bag from the specified state.

System_CAPS_pubmethodSystem_CAPS_staticCreatePropertyBagFromState(String, Boolean)

Deserializes a property bag from the specified state and optionally makes it read-only.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetState()

Serializes the state of the property bag into a string.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodGetValue<T>(Int32)

Returns the value with the specified key, cast as the specified type.

System_CAPS_pubmethodGetValue<T>(Int32, T)

Returns the value with the specified key, cast as the specified type, or the specified default value if no item with the specified key is located in the collection.

System_CAPS_pubmethodIsModified()

Returns a value indicating whether the collection has been modified since it was created.

System_CAPS_pubmethodIsModified(Int32)

Returns a value indicating whether the specified item has been modified since it was created.

System_CAPS_pubmethodRemove(Object)

Deletes the item with the specified key from the collection.

System_CAPS_pubmethodToString()

(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodICollection.CopyTo(Array, Int32)

For a description of this member, see the ICollection.CopyTo method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDictionary.Add(Object, Object)

For a description of this member, see the IDictionary.Add method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDictionary.Clear()

For a description of this member, see the IDictionary.Clear method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDictionary.Contains(Object)

For a description of this member, see the IDictionary.Contains method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIDictionary.GetEnumerator()

For a description of this member, see the IDictionary.GetEnumerator method.

System_CAPS_pubinterfaceSystem_CAPS_privmethodIEnumerable.GetEnumerator()

For a description of this member, see the IEnumerable.GetEnumerator method.

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.IsSynchronized

System_CAPS_pubinterfaceSystem_CAPS_privpropertyICollection.SyncRoot

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIDictionary.IsFixedSize

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIDictionary.IsReadOnly

System_CAPS_pubinterfaceSystem_CAPS_privpropertyIDictionary.Item[Object]

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft