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