Compartir a través de


DomainDataDirectory.GetDomainClass Method (Type)

Gets a domain class by implementation type.

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

Syntax

'Declaración
Public Function GetDomainClass ( _
    type As Type _
) As DomainClassInfo
public DomainClassInfo GetDomainClass(
    Type type
)
public:
DomainClassInfo^ GetDomainClass(
    Type^ type
)
member GetDomainClass : 
        type:Type -> DomainClassInfo 
public function GetDomainClass(
    type : Type
) : DomainClassInfo

Parameters

  • type
    Type: System.Type
    The implementation type for the domain class.

Return Value

Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
A DomainClassInfo object of the specified type.

Exceptions

Exception Condition
ArgumentNullException

If a nulla null reference (Nothing in Visual Basic) reference (Nothing in Visual Basic) is passed in as an argument.

DomainDataNotFoundException

If the requested domain class is not found.

.NET Framework Security

See Also

Reference

DomainDataDirectory Class

GetDomainClass Overload

Microsoft.VisualStudio.Modeling Namespace