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