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
)
參數
- documentToBeUnregistered
型別:Microsoft.VisualStudio.Modeling.Shell.DocData
備註
實作者必須移除/取消註冊 DocData,RelatedSaveItemsList 字典中。 此外,可能會引發 OnBeforeDocumentRemovedFromList 事件。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。