DslLibraryHasReferenceTypes.GetLinks Method
Get any DslLibraryHasReferenceTypes links between a given DslLibrary and a DomainClass.
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 GetLinks ( _
source As DslLibrary, _
target As DomainClass _
) As ReadOnlyCollection(Of DslLibraryHasReferenceTypes)
public static ReadOnlyCollection<DslLibraryHasReferenceTypes> GetLinks(
DslLibrary source,
DomainClass target
)
public:
static ReadOnlyCollection<DslLibraryHasReferenceTypes^>^ GetLinks(
DslLibrary^ source,
DomainClass^ target
)
static member GetLinks :
source:DslLibrary *
target:DomainClass -> ReadOnlyCollection<DslLibraryHasReferenceTypes>
public static function GetLinks(
source : DslLibrary,
target : DomainClass
) : ReadOnlyCollection<DslLibraryHasReferenceTypes>
Parameters
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<DslLibraryHasReferenceTypes>
.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.