ShapeHasCompartments.GetLinksToCompartments(CompartmentShape) 方法

定义

获取 CompartmentShape 的 ShapeHasCompartments 链接的列表。

public:
 static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::DslDefinition::ShapeHasCompartments ^> ^ GetLinksToCompartments(Microsoft::VisualStudio::Modeling::DslDefinition::CompartmentShape ^ shapeInstance);
[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments> GetLinksToCompartments (Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape shapeInstance);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLinksToCompartments : Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments>
Public Shared Function GetLinksToCompartments (shapeInstance As CompartmentShape) As ReadOnlyCollection(Of ShapeHasCompartments)

参数

shapeInstance
CompartmentShape

返回

ReadOnlyCollection<ShapeHasCompartments>
属性

适用于