CompartmentShapeHasBaseCompartmentShape.GetLinks 方法

取得指定的 CompartmentShape 和 CompartmentShape 之間的任何 CompartmentShapeHasBaseCompartmentShape 連結。

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)

語法

'宣告
Public Shared Function GetLinks ( _
    source As CompartmentShape, _
    target As CompartmentShape _
) As ReadOnlyCollection(Of CompartmentShapeHasBaseCompartmentShape)
public static ReadOnlyCollection<CompartmentShapeHasBaseCompartmentShape> GetLinks(
    CompartmentShape source,
    CompartmentShape target
)

參數

傳回值

型別:System.Collections.ObjectModel.ReadOnlyCollection<CompartmentShapeHasBaseCompartmentShape>

.NET Framework 安全性

請參閱

參考

CompartmentShapeHasBaseCompartmentShape 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間