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