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
- key
Type: System.Object
The key of the item.
Property Value
Type: System.Object
The value.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.