共用方式為


LanguageVersionFacts.TryParse(String, LanguageVersion) Method

Definition

Parse a LanguageVersion from a string input, as the command-line compiler does.

public:
 static bool TryParse(System::String ^ version, Microsoft::CodeAnalysis::VisualBasic::LanguageVersion % result);
public static bool TryParse (string version, ref Microsoft.CodeAnalysis.VisualBasic.LanguageVersion result);
static member TryParse : string * LanguageVersion -> bool
Public Function TryParse (version As String, ByRef result As LanguageVersion) As Boolean

Parameters

version
String

Returns

Applies to