Checks whether the collection contains an item at a specific order in the collection. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim order As Integer
Dim returnValue As Boolean
Dim runOnceCommandCollection1 As RunOnceCommandCollection
returnValue = runOnceCommandCollection1.Contains(order)

Syntax

Visual Basic
Public NotOverridable Function Contains( _
		ByVal order As Integer _
) As Boolean
C#
public sealed bool Contains(
		int order
);
C++
public:
virtual bool arbitrary-name(
		int order
) sealed = Contains;
J#
public final boolean Contains(
		int order
);
JScript
public final function Contains(
		 order : int
) : Boolean;

Parameters

order

The specified order of the item in question.

Return Value

True if the collection contains an item at order, false otherwise.

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