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)

参数

适用于