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
'宣告
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
- instance
Type: Microsoft.VisualStudio.Modeling.ModelElement
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
- 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.