IRelatedDocList.RegisterDependentDocument Method
Add a document to this list.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Sub RegisterDependentDocument ( _
documentToBeRegistered As DocData _
)
void RegisterDependentDocument(
DocData documentToBeRegistered
)
void RegisterDependentDocument(
DocData^ documentToBeRegistered
)
abstract RegisterDependentDocument :
documentToBeRegistered:DocData -> unit
function RegisterDependentDocument(
documentToBeRegistered : DocData
)
Parameters
documentToBeRegistered
Type: Microsoft.VisualStudio.Modeling.Shell.DocDataDocument to be added to the list.
Remarks
Implementers must Add/Register DocData to the RelatedSaveItemsList dictionary.
.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.