Share via


DomainDataDirectory.GetDomainClass Method (String)

Gets a domain class by full name.

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

Syntax

'Declaration
Public Function GetDomainClass ( _
    classFullName As String _
) As DomainClassInfo
public DomainClassInfo GetDomainClass(
    string classFullName
)
public:
DomainClassInfo^ GetDomainClass(
    String^ classFullName
)
member GetDomainClass : 
        classFullName:string -> DomainClassInfo 
public function GetDomainClass(
    classFullName : String
) : DomainClassInfo

Parameters

  • classFullName
    Type: System.String
    The full name of the domain class.

Return Value

Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
A DomainClassInfo object with the specified name.

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