CompartmentMapsReferToCompartment.GetLinksToCompartmentMaps 方法
取得區間的 CompartmentMapsReferToCompartment 連結清單。
命名空間: Microsoft.VisualStudio.Modeling.DslDefinition
組件: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll 中)
語法
'宣告
Public Shared Function GetLinksToCompartmentMaps ( _
compartmentInstance As Compartment _
) As ReadOnlyCollection(Of CompartmentMapsReferToCompartment)
public static ReadOnlyCollection<CompartmentMapsReferToCompartment> GetLinksToCompartmentMaps(
Compartment compartmentInstance
)
參數
- compartmentInstance
型別:Microsoft.VisualStudio.Modeling.DslDefinition.Compartment
傳回值
型別:System.Collections.ObjectModel.ReadOnlyCollection<CompartmentMapsReferToCompartment>
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。