DomainDataDirectory.FindDomainClass 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
FindDomainClass(Guid) |
Find a domain class by Id. |
FindDomainClass(String) |
Finds a domain class whose full name matches the given name. |
FindDomainClass(Type) |
Finds domain class by implementation type. |
FindDomainClass(Guid)
Find a domain class by Id.
public:
Microsoft::VisualStudio::Modeling::DomainClassInfo ^ FindDomainClass(Guid id);
public Microsoft.VisualStudio.Modeling.DomainClassInfo FindDomainClass (Guid id);
member this.FindDomainClass : Guid -> Microsoft.VisualStudio.Modeling.DomainClassInfo
Public Function FindDomainClass (id As Guid) As DomainClassInfo
Parameters
- id
- Guid
Id of the class to look for.
Returns
DomainClassInfo or null if not found.
Applies to
FindDomainClass(String)
Finds a domain class whose full name matches the given name.
public:
Microsoft::VisualStudio::Modeling::DomainClassInfo ^ FindDomainClass(System::String ^ classFullName);
public Microsoft.VisualStudio.Modeling.DomainClassInfo FindDomainClass (string classFullName);
member this.FindDomainClass : string -> Microsoft.VisualStudio.Modeling.DomainClassInfo
Public Function FindDomainClass (classFullName As String) As DomainClassInfo
Parameters
- classFullName
- String
Full name of domain class name to search for.
Returns
DomainClassInfo or null if not found
Exceptions
Applies to
FindDomainClass(Type)
Finds domain class by implementation type.
public:
Microsoft::VisualStudio::Modeling::DomainClassInfo ^ FindDomainClass(Type ^ type);
public Microsoft.VisualStudio.Modeling.DomainClassInfo FindDomainClass (Type type);
member this.FindDomainClass : Type -> Microsoft.VisualStudio.Modeling.DomainClassInfo
Public Function FindDomainClass (type As Type) As DomainClassInfo
Parameters
- type
- Type
Implementation type of the class to look for.
Returns
DomainClassInfo or null if not found.