DomainDataDirectory.FindDomainClass Method (Type)
Finds a domain class by specifying its implementation type.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Dichiarazione
Public Function FindDomainClass ( _
type As Type _
) As DomainClassInfo
public DomainClassInfo FindDomainClass(
Type type
)
public:
DomainClassInfo^ FindDomainClass(
Type^ type
)
member FindDomainClass :
type:Type -> DomainClassInfo
public function FindDomainClass(
type : Type
) : DomainClassInfo
Parameters
- type
Type: System.Type
The implementation type used with the domain class.
Return Value
Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
A DomainClassInfo object.
Remarks
If the domain class is not found, nulla null reference (Nothing in Visual Basic) is returned.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.