다음을 통해 공유


ElementTypeDescriptor.GetDomainClassInfo(ModelElement) Method

Definition

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

protected:
 Microsoft::VisualStudio::Modeling::DomainClassInfo ^ GetDomainClassInfo(Microsoft::VisualStudio::Modeling::ModelElement ^ instance);
protected Microsoft.VisualStudio.Modeling.DomainClassInfo GetDomainClassInfo (Microsoft.VisualStudio.Modeling.ModelElement instance);
member this.GetDomainClassInfo : Microsoft.VisualStudio.Modeling.ModelElement -> Microsoft.VisualStudio.Modeling.DomainClassInfo
Protected Function GetDomainClassInfo (instance As ModelElement) As DomainClassInfo

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