DomainDataDirectory.GetDomainClass Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetDomainClass(Guid) |
Gets domain class by Id. |
GetDomainClass(String) |
Gets domain class by full name. |
GetDomainClass(Type) |
Gets domain class by implementation type. |
GetDomainClass(Guid)
Gets domain class by Id.
public:
Microsoft::VisualStudio::Modeling::DomainClassInfo ^ GetDomainClass(Guid id);
public Microsoft.VisualStudio.Modeling.DomainClassInfo GetDomainClass (Guid id);
member this.GetDomainClass : Guid -> Microsoft.VisualStudio.Modeling.DomainClassInfo
Public Function GetDomainClass (id As Guid) As DomainClassInfo
Parameters
- id
- Guid
Id of the class to look for.
Returns
DomainClassInfo with specified Id.
Exceptions
Applies to
GetDomainClass(String)
Gets domain class by full name.
public:
Microsoft::VisualStudio::Modeling::DomainClassInfo ^ GetDomainClass(System::String ^ classFullName);
public Microsoft.VisualStudio.Modeling.DomainClassInfo GetDomainClass (string classFullName);
member this.GetDomainClass : string -> Microsoft.VisualStudio.Modeling.DomainClassInfo
Public Function GetDomainClass (classFullName As String) As DomainClassInfo
Parameters
- classFullName
- String
Full name of the class to look for.
Returns
DomainClassInfo with specified name.
Exceptions
Applies to
GetDomainClass(Type)
Gets domain class by implementation type.
public:
Microsoft::VisualStudio::Modeling::DomainClassInfo ^ GetDomainClass(Type ^ type);
public Microsoft.VisualStudio.Modeling.DomainClassInfo GetDomainClass (Type type);
member this.GetDomainClass : Type -> Microsoft.VisualStudio.Modeling.DomainClassInfo
Public Function GetDomainClass (type As Type) As DomainClassInfo
Parameters
- type
- Type
Implementation type of the class to look for.
Returns
DomainClassInfo.