다음을 통해 공유


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

Property Value

Type: System.Object
The global object.

Implements

IList.Item[Int32]

.NET Framework Security

See Also

Reference

GlobalObjectCollection Class

GlobalObjectCollection Members

Microsoft.VisualStudio.Shell.Design Namespace