Partager via


ModelElement.GetDomainClass Method

Gets the most-derived domain class for this element.

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

Syntax

'Declaration
Public Function GetDomainClass As DomainClassInfo
public DomainClassInfo GetDomainClass()
public:
DomainClassInfo^ GetDomainClass()
member GetDomainClass : unit -> DomainClassInfo
public function GetDomainClass() : DomainClassInfo

Return Value

Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
A DomainClassInfo with information about the domain class.

Remarks

The class returned contains information about the most-derived domain class for this element.

.NET Framework Security

See Also

Reference

ModelElement Class

Microsoft.VisualStudio.Modeling Namespace