Creates a new
RunOnceCommand and adds it to the collection.
Namespace:
Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly:
Microsoft.ComponentStudio.ComponentPlatformInterface (in
microsoft.componentstudio.componentplatforminterface.dll)
Usage
Visual Basic |
Dim order As Integer
Dim createOption As CreateOptions
Dim returnValue As RunOnceCommand
Dim runOnceCommandCollection1 As RunOnceCommandCollection
returnValue = runOnceCommandCollection1.Create(order, createOption)
|
Syntax
Parameters
- order
-
Command to be executed.
- createOption
-
Enumeration element that determines whether to return the
existing collection or throw an exception if one already
exists.
Return Value
The
RunOnceCommand that will be added to the
RunOnceCommandCollection.
Remarks
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