ElementTypeDescriptor.GetDomainClassInfo(ModelElement) Method

Definition

Return the domain class info for the type of element being described.

C++
protected:
 Microsoft::VisualStudio::Modeling::DomainClassInfo ^ GetDomainClassInfo(Microsoft::VisualStudio::Modeling::ModelElement ^ instance);

Parameters

instance
ModelElement

Returns

Remarks

Handles both instance- and type-based cases. If the supplied element is null, the domain class info will be looked up in the static store instead.

Applies to

Produkt Verzie
Visual Studio SDK 2017, 2019, 2022