PropertyBag Class
Represents an unordered collection of properties and their values.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Client.PropertyBag
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)
Syntax
'Декларация
<SerializableAttribute> _
Public Class PropertyBag
[SerializableAttribute]
public class PropertyBag
[SerializableAttribute]
public ref class PropertyBag
[<SerializableAttribute>]
type PropertyBag = class end
public class PropertyBag
The PropertyBag type exposes the following members.
Constructors
Name | Description | |
---|---|---|
PropertyBag | Initializes a new instance of the PropertyBag class. |
Top
Properties
Name | Description | |
---|---|---|
Item | Gets the property in this collection that has the specified name. |
Top
Methods
Name | Description | |
---|---|---|
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 a hash function for a particular type. (Inherited from Object.) | |
GetProperty(String) | Gets the property in this collection that has the specified name. | |
GetProperty<T>(String) | Gets the property in this collection that has the specified name. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HasProperty | Checks whether this collection has a property that has the specified name. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetProperty | Sets a property in this collection to the specified value. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetProperty<T> | Attempts to get a property that has the specified name. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.