共用方式為


DocumentInfo.WithSourceCodeKind(SourceCodeKind) 方法

定義

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

參數

傳回

適用於