ElementTypeDescriptor.GetDomainClassInfo(ModelElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.