共用方式為


IRelatedDocList.UnregisterDependentDocument 方法

從清單中移除文件。

命名空間:  Microsoft.VisualStudio.Modeling.Shell
組件:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll 中)

語法

'宣告
Sub UnregisterDependentDocument ( _
    documentToBeUnregistered As DocData _
)
void UnregisterDependentDocument(
    DocData documentToBeUnregistered
)

參數

備註

實作者必須移除/取消註冊 DocData,RelatedSaveItemsList 字典中。 此外,可能會引發 OnBeforeDocumentRemovedFromList 事件。

.NET Framework 安全性

請參閱

參考

IRelatedDocList 介面

Microsoft.VisualStudio.Modeling.Shell 命名空間