Retrieves or sets the command-line string. Namespace: Microsoft.ComponentStudio.ComponentPlatformInterface
Assembly: Microsoft.ComponentStudio.ComponentPlatformInterface (in microsoft.componentstudio.componentplatforminterface.dll)

Usage

Visual Basic
Dim runOnceCommand1 As RunOnceCommand

Dim returnValue As String
returnValue = runOnceCommand1.CommandLine

Dim sampleValue As String
runOnceCommand1.CommandLine = sampleValue

Syntax

Visual Basic
Public Property CommandLine() As String
C#
public string CommandLine {get; set;}
C++
public:
property String^ CommandLine {
		String^ get();
		void set(String^ value);
}
J#
public System.String get_CommandLine();
public void set_CommandLine(System.String);
JScript
public function get CommandLine() : String;
public function set CommandLine(String);

Property Value

The command-line string.

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

[an error occurred while processing this directive]