Export (0) Print
Expand All

PropertyBag Class

IIS 7.0

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

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

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

public sealed class PropertyBag : IDictionary, 
	ICollection, IEnumerable

The PropertyBag type exposes the following members.

  NameDescription
Public methodPropertyBag()()()()Initializes a new instance of the PropertyBag class with no state tracking.
Public methodPropertyBag(Boolean)Initializes a new instance of the PropertyBag class, using the specified state tracking.
Top

  NameDescription
Public propertyCountGets the number of items in the collection.
Public propertyIsTrackingStateGets a value indicating whether the collection is tracking state.
Public propertyItemGets or sets the element at the specified index location in the property bag.
Public propertyKeysGets a collection that contains the keys of the collection.
Public propertyModifiedKeysGets the collection of keys that have been modified since the bag was cloned.
Public propertyValuesGets a collection that contains the values of the collection.
Top

  NameDescription
Public methodAddAdds an element that has the specified integer key and value to the collection.
Public methodClone()()()()Creates a new copy of the collection with state tracking enabled.
Public methodClone(Boolean)Creates a new copy of the collection with state tracking enabled, and that is optionally read-only.
Public methodContainsDetermines whether the collection contains an element that has the specified key.
Public methodStatic memberCreatePropertyBagFromState(String)Deserializes a property bag from the specified state.
Public methodStatic memberCreatePropertyBagFromState(String, Boolean)Deserializes a property bag from the specified state and optionally makes it read-only.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetStateSerializes the state of the property bag into a string.
Public methodGetType (Inherited from Object.)
Public methodGetValue<(Of <<'(T>)>>)(Int32)Returns the value with the specified key, cast as the specified type.
Public methodGetValue<(Of <<'(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.
Public methodIsModified()()()()Returns a value indicating whether the collection has been modified since it was created.
Public methodIsModified(Int32)Returns a value indicating whether the specified item has been modified since it was created.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemoveDeletes the item with the specified key from the collection.
Public methodToString (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIDictionary..::..AddFor a description of this member, see the IDictionary..::..Add method.
Explicit interface implemetationPrivate methodIDictionary..::..ClearFor a description of this member, see the IDictionary..::..Clear method.
Explicit interface implemetationPrivate methodIDictionary..::..ContainsFor a description of this member, see the IDictionary..::..Contains method.
Explicit interface implemetationPrivate methodICollection..::..CopyToFor a description of this member, see the ICollection..::..CopyTo method.
Explicit interface implemetationPrivate methodIDictionary..::..GetEnumeratorFor a description of this member, see the IDictionary..::..GetEnumerator method.
Explicit interface implemetationPrivate methodIEnumerable..::..GetEnumeratorFor a description of this member, see the IEnumerable..::..GetEnumerator method.
Explicit interface implemetationPrivate propertyIDictionary..::..IsFixedSizeGets a value indicating whether the collection has a fixed size.
Explicit interface implemetationPrivate propertyIDictionary..::..IsReadOnlyGets a value indicating whether the collection is read-only.
Explicit interface implemetationPrivate propertyICollection..::..IsSynchronizedGets a value indicating whether access to the collection is synchronized (thread safe).
Explicit interface implemetationPrivate propertyIDictionary..::..ItemGets or sets the element with the specified key.
Explicit interface implemetationPrivate propertyICollection..::..SyncRootFor a description of this member, see the ICollection..::..SyncRoot property.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft