Retrieves the item at a specific index in the collection. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim runOnceCommandCollection1 As RunOnceCommandCollection

Dim key As Integer
Dim returnValue As RunOnceCommand
returnValue = runOnceCommandCollection1.Item(key)

Syntax

Visual Basic
Public Overridable ReadOnly Property Item( _
		ByVal order As Integer _
) As RunOnceCommand
C#
public virtual RunOnceCommand this[
		int order
] {get;}
C++
public:
property virtual RunOnceCommand^ default[int] {
		RunOnceCommand^ get(int order);
}
J#
public RunOnceCommand get_Item(
		int order
);
JScript
In JScript, you can use Indexed Properties defined by a class, but you cannot define your own.

Parameters

order

Index of the item to be retrieved.

Property Value

The item at a specific order in the collection.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Vista, and Windows 2000

Target Platforms

See Also