共用方式為


PropertyBag.Item Property

Gets the property in this collection that has the specified name.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.VisualStudio.TeamFoundation.Client (in Microsoft.VisualStudio.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Property Item ( _
    key As String _
) As Object
public Object this[
    string key
] { get; set; }
public:
property Object^ Item[String^ key] {
    Object^ get (String^ key);
    void set (String^ key, Object^ value);
}
member Item : 
        key:string -> Object with get, set
JScript does not support indexed properties.

Parameters

Property Value

Type: System.Object
The property in this collection that has the specified name.

.NET Framework Security

See Also

Reference

PropertyBag Class

Microsoft.TeamFoundation.Client Namespace