Freigeben über


ElementTypeDescriptor.GetDomainClassInfo Method

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

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Declaration
Protected Function GetDomainClassInfo ( _
    instance As ModelElement _
) As DomainClassInfo
protected DomainClassInfo GetDomainClassInfo(
    ModelElement instance
)
protected:
DomainClassInfo^ GetDomainClassInfo(
    ModelElement^ instance
)
member GetDomainClassInfo : 
        instance:ModelElement -> DomainClassInfo 
protected function GetDomainClassInfo(
    instance : ModelElement
) : DomainClassInfo

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DomainClassInfo

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.

.NET Framework Security

See Also

Reference

ElementTypeDescriptor Class

Microsoft.VisualStudio.Modeling.Design Namespace