共用方式為


PropertyCollection.Item Property

Gets or sets the Object with the specified key.

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

Syntax

'宣告
Public Default Property Item ( _
    key As Object _
) As Object
public Object this[
    Object key
] { get; set; }
public:
property Object^ default[Object^ key] {
    Object^ get (Object^ key);
    void set (Object^ key, Object^ value);
}
member Item : Object with get, set
JScript does not support indexed properties.

Parameters

Property Value

Type: System.Object
The value.

.NET Framework Security

See Also

Reference

PropertyCollection Class

Microsoft.VisualStudio.Utilities Namespace