PropertyCollection Class

 

Allows property owners to control the lifetimes of the properties in the collection.

Namespace:   Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)

System.Object
  Microsoft.VisualStudio.Utilities.PropertyCollection

public class PropertyCollection

NameDescription
System_CAPS_pubmethodPropertyCollection()

Initializes a new instance of PropertyCollection.

NameDescription
System_CAPS_pubpropertyItem[Object]

Gets or sets the Object with the specified key.

System_CAPS_pubpropertyPropertyList

Returns the property collection as a read-only collection.

NameDescription
System_CAPS_pubmethodAddProperty(Object, Object)

Adds a new property to the collection.

System_CAPS_pubmethodContainsProperty(Object)

Determines whether the property collection contains a property for the specified key.

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetOrCreateSingletonProperty<T>(Func<T>)

Gets or creates a property of type T from the property collection.

System_CAPS_pubmethodGetOrCreateSingletonProperty<T>(Object, Func<T>)

Gets or creates a property of type T from the property collection.

System_CAPS_pubmethodGetProperty(Object)

Gets the property associated with the specified key.

System_CAPS_pubmethodGetProperty<TProperty>(Object)

Gets the property associated with the specified key.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodRemoveProperty(Object)

Removes the property associated with the specified key.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodTryGetProperty<TProperty>(Object, TProperty)

Gets the property associated with the specified key.

This collection is synchronized in order to allow access by multiple threads.

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: