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
- element
Type: Microsoft.VisualStudio.Modeling.DslDefinition.DslLibrary
Return Value
Type: Microsoft.VisualStudio.Modeling.LinkedElementCollection<DomainRelationship>
.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.