ParseOptions.WithKind(SourceCodeKind) Method

Definition

Creates a new options instance with the specified source code kind.

public:
 Microsoft::CodeAnalysis::ParseOptions ^ WithKind(Microsoft::CodeAnalysis::SourceCodeKind kind);
public Microsoft.CodeAnalysis.ParseOptions WithKind (Microsoft.CodeAnalysis.SourceCodeKind kind);
member this.WithKind : Microsoft.CodeAnalysis.SourceCodeKind -> Microsoft.CodeAnalysis.ParseOptions
Public Function WithKind (kind As SourceCodeKind) As ParseOptions

Parameters

Returns

ParseOptions

Applies to