Condividi tramite


DomainDataDirectory.FindDomainRelationship Method (Type)

Finds a domain relationship by 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 FindDomainRelationship ( _
    type As Type _
) As DomainRelationshipInfo
public DomainRelationshipInfo FindDomainRelationship(
    Type type
)
public:
DomainRelationshipInfo^ FindDomainRelationship(
    Type^ type
)
member FindDomainRelationship : 
        type:Type -> DomainRelationshipInfo 
public function FindDomainRelationship(
    type : Type
) : DomainRelationshipInfo

Parameters

  • type
    Type: System.Type
    The implementation type for the relationship.

Return Value

Type: Microsoft.VisualStudio.Modeling.DomainRelationshipInfo
A DomainRelationshipInfo object or null if not found.

Remarks

If the domain relationship is not found, nulla null reference (Nothing in Visual Basic) is returned.

.NET Framework Security

See Also

Reference

DomainDataDirectory Class

FindDomainRelationship Overload

Microsoft.VisualStudio.Modeling Namespace