IRelatedDocList Interface

Definition

Important

This API is not CLS-compliant.

Contract for SRelatedDocList that is used to access and manage the RelatedSaveItem list owned by ModelingDocData objects

C++
public interface class IRelatedDocList
Attributes

Properties

RelatedDocDataList

Read-only Collection of unique RelatedSaveItems stored in this list

Methods

GetRegistrationCount(DocData)

Fetches the number of times a document has been registered in this list.

RegisterDependentDocument(DocData)

Implementers must Add/Register DocData to the RelatedSaveItemsList dictionary

UnregisterDependentDocument(DocData)

Implementers must Remove/Unregister DocData from the RelatedSaveItemsList dictionary. Also, potentially fires the OnBeforeDocumentRemovedFromList event.

Events

RemovingDocumentFromList

Event fired before a document is removed from the RelatedSaveItems list.

Applies to

Product Versions
Visual Studio SDK 2017, 2019, 2022