共用方式為


RelationshipHasSource.GetRelationship Method

Gets Relationship.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

'宣告
Public Shared Function GetRelationship ( _
    element As DomainRole _
) As DomainRelationship
public static DomainRelationship GetRelationship(
    DomainRole element
)
public:
static DomainRelationship^ GetRelationship(
    DomainRole^ element
)
static member GetRelationship : 
        element:DomainRole -> DomainRelationship 
public static function GetRelationship(
    element : DomainRole
) : DomainRelationship

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRelationship

.NET Framework Security

See Also

Reference

RelationshipHasSource Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace