ParseOptions.WithKind(SourceCodeKind) 方法

定义

使用指定的源代码类型创建新的选项实例。

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

参数

返回

适用于