共用方式為


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

'宣告
Public Default Property Item ( _
    key As String _
) As Object
    Get
    Set
public Object this[
    string key
] { get; set; }
public:
property Object^ default[String^ key] {
    Object^ get (String^ key);
    void set (String^ key, Object^ value);
}
member Item : 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