PropertyCollection Class
Allows property owners to control the lifetimes of the properties in the collection.
Assembly: Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)
| Name | Description | |
|---|---|---|
![]() | PropertyCollection() | Initializes a new instance of PropertyCollection. |
| Name | Description | |
|---|---|---|
![]() | Item[Object] | Gets or sets the Object with the specified key. |
![]() | PropertyList | Returns the property collection as a read-only collection. |
| Name | Description | |
|---|---|---|
![]() | AddProperty(Object, Object) | Adds a new property to the collection. |
![]() | ContainsProperty(Object) | Determines whether the property collection contains a property for the specified key. |
![]() | Equals(Object) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetOrCreateSingletonProperty<T>(Func<T>) | Gets or creates a property of type T from the property collection. |
![]() | GetOrCreateSingletonProperty<T>(Object, Func<T>) | Gets or creates a property of type T from the property collection. |
![]() | GetProperty(Object) | Gets the property associated with the specified key. |
![]() | GetProperty<TProperty>(Object) | Gets the property associated with the specified key. |
![]() | GetType() | (Inherited from Object.) |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | RemoveProperty(Object) | Removes the property associated with the specified key. |
![]() | ToString() | (Inherited from Object.) |
![]() | TryGetProperty<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.


