共用方式為


DocumentInfo.WithId(DocumentId) 方法

定義

public:
 Microsoft::CodeAnalysis::DocumentInfo ^ WithId(Microsoft::CodeAnalysis::DocumentId ^ id);
public Microsoft.CodeAnalysis.DocumentInfo WithId (Microsoft.CodeAnalysis.DocumentId id);
member this.WithId : Microsoft.CodeAnalysis.DocumentId -> Microsoft.CodeAnalysis.DocumentInfo
Public Function WithId (id As DocumentId) As DocumentInfo

參數

傳回

適用於