共用方式為


DslLibraryHasRelationships.GetRelationships Method

Gets a list of Relationships.

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 GetRelationships ( _
    element As DslLibrary _
) As LinkedElementCollection(Of DomainRelationship)
public static LinkedElementCollection<DomainRelationship> GetRelationships(
    DslLibrary element
)
public:
static LinkedElementCollection<DomainRelationship^>^ GetRelationships(
    DslLibrary^ element
)
static member GetRelationships : 
        element:DslLibrary -> LinkedElementCollection<DomainRelationship> 
public static function GetRelationships(
    element : DslLibrary
) : LinkedElementCollection<DomainRelationship>

Parameters

Return Value

Type: Microsoft.VisualStudio.Modeling.LinkedElementCollection<DomainRelationship>

.NET Framework Security

See Also

Reference

DslLibraryHasRelationships Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace