次の方法で共有


ShapeHasCompartments.GetLink(CompartmentShape, Compartment) Method

Definition

Get the one ShapeHasCompartments link between a given CompartmentShapeand a Compartment.

public:
 static Microsoft::VisualStudio::Modeling::DslDefinition::ShapeHasCompartments ^ GetLink(Microsoft::VisualStudio::Modeling::DslDefinition::CompartmentShape ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::Compartment ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments GetLink (Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape source, Microsoft.VisualStudio.Modeling.DslDefinition.Compartment target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLink : Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape * Microsoft.VisualStudio.Modeling.DslDefinition.Compartment -> Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments
Public Shared Function GetLink (source As CompartmentShape, target As Compartment) As ShapeHasCompartments

Parameters

target
Compartment

Returns

Attributes

Applies to