VisualBasicParseOptions.CommonWithKind(SourceCodeKind) Method

Definition

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.

Applies to