VsUtilities.GetCommandLineOption Method (String, String%)

Returns an option value from the VS command line.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Common.Host
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Shared Function GetCommandLineOption ( _
    optionName As String, _
    <OutAttribute> ByRef optionValue As String _
) As Boolean
'Usage
Dim optionName As String
Dim optionValue As String
Dim returnValue As Boolean

returnValue = VsUtilities.GetCommandLineOption(optionName, _
    optionValue)
public static bool GetCommandLineOption(
    string optionName,
    out string optionValue
)
public:
static bool GetCommandLineOption(
    String^ optionName, 
    [OutAttribute] String^% optionValue
)
public static function GetCommandLineOption(
    optionName : String, 
    optionValue : String
) : boolean
static member GetCommandLineOption : 
        optionName:string * 
        optionValue:string -> bool 

Parameters

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

VsUtilities Class

VsUtilities Members

GetCommandLineOption Overload

Microsoft.VisualStudio.Data.Schema.Project.Common.Host Namespace