Item Property
Gets or sets the value of the property with the specified name.
Namespace: Microsoft.VisualStudio.Data.Tools.Package.Internal
Assembly: Microsoft.VisualStudio.Data.Tools.Package (in Microsoft.VisualStudio.Data.Tools.Package.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Default Property Item ( _
key As String _
) As Object
Get
Set
'Usage
Dim instance As PropertyGroupWithEvents
Dim key As String
Dim value As Object
value = instance(key)
instance(key) = value
[ComVisibleAttribute(false)]
public Object this[
string key
] { get; set; }
[ComVisibleAttribute(false)]
public:
property Object^ default[String^ key] {
Object^ get (String^ key);
void set (String^ key, Object^ value);
}
[<ComVisibleAttribute(false)>]
member Item : Object with get, set
JScript supports the use of indexed properties, but not the declaration of new ones.
Parameters
- key
Type: System..::..String
Property Value
Type: System..::..Object
See Also
Reference
Microsoft.VisualStudio.Data.Tools.Package.Internal Namespace