다음을 통해 공유


DomainDataDirectory.FindDomainClass Method

Definition

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.

Exceptions

Applies to