GlobalObjectCollection.Item Property
Gets or sets the item at the given index.
Namespace: Microsoft.VisualStudio.Shell.Design
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣告
Public Default Property Item ( _
index As Integer _
) As GlobalObject
public GlobalObject this[
int index
] { get; set; }
Parameters
- index
Type: System.Int32
The position of the requested item in the collection.
Property Value
Type: Microsoft.VisualStudio.Shell.Design.GlobalObject
The item.
Remarks
If index is nulla null reference (Nothing in Visual Basic), throws an ArgumentNullException. Throws NotSupportedException on a set operation if IsReadOnly returns true.
.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.