ShapeHasCompartments.GetLinks(CompartmentShape, Compartment) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取给定 CompartmentShape 和隔离舱之间的任何 ShapeHasCompartments 链接。
public:
static System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::VisualStudio::Modeling::DslDefinition::ShapeHasCompartments ^> ^ GetLinks(Microsoft::VisualStudio::Modeling::DslDefinition::CompartmentShape ^ source, Microsoft::VisualStudio::Modeling::DslDefinition::Compartment ^ target);
[System.Diagnostics.DebuggerStepThrough]
public static System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments> GetLinks (Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape source, Microsoft.VisualStudio.Modeling.DslDefinition.Compartment target);
[<System.Diagnostics.DebuggerStepThrough>]
static member GetLinks : Microsoft.VisualStudio.Modeling.DslDefinition.CompartmentShape * Microsoft.VisualStudio.Modeling.DslDefinition.Compartment -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.VisualStudio.Modeling.DslDefinition.ShapeHasCompartments>
Public Shared Function GetLinks (source As CompartmentShape, target As Compartment) As ReadOnlyCollection(Of ShapeHasCompartments)
参数
- source
- CompartmentShape
- target
- Compartment
返回
- 属性