IRelatedDocList.UnregisterDependentDocument Method
Remove a document from this list.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)
Syntax
'Declaration
Sub UnregisterDependentDocument ( _
documentToBeUnregistered As DocData _
)
void UnregisterDependentDocument(
DocData documentToBeUnregistered
)
void UnregisterDependentDocument(
DocData^ documentToBeUnregistered
)
abstract UnregisterDependentDocument :
documentToBeUnregistered:DocData -> unit
function UnregisterDependentDocument(
documentToBeUnregistered : DocData
)
Parameters
- documentToBeUnregistered
Type: Microsoft.VisualStudio.Modeling.Shell.DocData
Remarks
Implementers must Remove/Unregister DocData from the RelatedSaveItemsList dictionary. Also, potentially fires the OnBeforeDocumentRemovedFromList event.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.