Freigeben über


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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)

Syntax

'Declaration
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

See Also

Reference

CompartmentMapsReferToCompartment Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace