Share via


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

'Declaration
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 : 
        key:Object -> 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