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
'Declaration
Public Default Property Item ( _
index As Integer _
) As GlobalObject
public GlobalObject this[
int index
] { get; set; }
public:
property GlobalObject^ default[int index] {
GlobalObject^ get (int index);
void set (int index, GlobalObject^ value);
}
member Item : GlobalObject with get, set
JScript does not support indexed properties.
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.