GlobalObjectCollection.IList.Item Property
Gets or sets the global object at the specified index.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
‘선언
Private Property Item ( _
index As Integer _
) As Object Implements IList.Item
Get
Set
‘사용 방법
Dim instance As GlobalObjectCollection
Dim index As Integer
Dim value As Object
value = CType(instance, IList).Item(index)
CType(instance, IList).Item(index) = value
Object IList.this[
int index
] { get; set; }
private:
virtual property Object^ Item[int index] {
Object^ get (int index) sealed = IList::Item::get;
void set (int index, Object^ value) sealed = IList::Item::set;
}
private abstract Item : Object with get, set
private override Item : Object with get, set
JScript does not support explicit interface implementations.
Parameters
- index
Type: System.Int32
The index of the list.
Property Value
Type: System.Object
The global object.
Implements
.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.