Partilhar via


VisualBasicCommandLineParser.Parse Method

Definition

Parses a command line.

public Microsoft.CodeAnalysis.VisualBasic.VisualBasicCommandLineArguments Parse (System.Collections.Generic.IEnumerable<string> args, string baseDirectory, string sdkDirectory, string additionalReferenceDirectories = default);
override this.Parse : seq<string> * string * string * string -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCommandLineArguments
Public Function Parse (args As IEnumerable(Of String), baseDirectory As String, sdkDirectory As String, Optional additionalReferenceDirectories As String = Nothing) As VisualBasicCommandLineArguments

Parameters

args
IEnumerable<String>

A collection of strings representing the command line arguments.

baseDirectory
String

The base directory used for qualifying file locations.

sdkDirectory
String

The directory to search for mscorlib, or Nothing if not available.

additionalReferenceDirectories
String

A string representing additional reference paths.

Returns

A CommandLineArguments object representing the parsed command line.

Applies to