共用方式為


Workspace.ApplyDocumentInfoChanged(DocumentId, DocumentInfo) 方法

定義

呼叫這個方法來變更檔的資訊。

覆寫此方法以實作變更檔資訊的功能。

protected:
 virtual void ApplyDocumentInfoChanged(Microsoft::CodeAnalysis::DocumentId ^ id, Microsoft::CodeAnalysis::DocumentInfo ^ info);
protected virtual void ApplyDocumentInfoChanged (Microsoft.CodeAnalysis.DocumentId id, Microsoft.CodeAnalysis.DocumentInfo info);
abstract member ApplyDocumentInfoChanged : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.DocumentInfo -> unit
override this.ApplyDocumentInfoChanged : Microsoft.CodeAnalysis.DocumentId * Microsoft.CodeAnalysis.DocumentInfo -> unit
Protected Overridable Sub ApplyDocumentInfoChanged (id As DocumentId, info As DocumentInfo)

參數

適用於