ModelElement.GetDomainClass Method
Gets the most-derived domain class for this element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public Function GetDomainClass As DomainClassInfo
'Usage
Dim instance As ModelElement
Dim returnValue As DomainClassInfo
returnValue = instance.GetDomainClass()
public DomainClassInfo GetDomainClass()
public:
DomainClassInfo^ GetDomainClass()
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.