ModelElement.GetDomainClass Method
Gets the most-derived domain class for this element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'宣告
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
- 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.