VisualBasicParseOptions.CommonWithKind(SourceCodeKind) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a ParseOptions instance for a specified Source Code Kind.
public:
override Microsoft::CodeAnalysis::ParseOptions ^ CommonWithKind(Microsoft::CodeAnalysis::SourceCodeKind kind);
public override Microsoft.CodeAnalysis.ParseOptions CommonWithKind (Microsoft.CodeAnalysis.SourceCodeKind kind);
override this.CommonWithKind : Microsoft.CodeAnalysis.SourceCodeKind -> Microsoft.CodeAnalysis.ParseOptions
Public Overrides Function CommonWithKind (kind As SourceCodeKind) As ParseOptions
Parameters
- kind
- SourceCodeKind
The parser source code kind.
Returns
A new instance of ParseOptions.