共用方式為


DragSourceContext.GetStoreId 方法 (ElementGroup)

取得來源存放區 ID。 如果未指定儲存區識別碼,或是沒有拖曳來源內容可供使用,則可能會傳回 Guid.Empty。

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

語法

'宣告
Public Shared Function GetStoreId ( _
    elementGroup As ElementGroup _
) As Guid
public static Guid GetStoreId(
    ElementGroup elementGroup
)

參數

傳回值

類型:System.Guid

.NET Framework 安全性

請參閱

參考

DragSourceContext 類別

GetStoreId 多載

Microsoft.VisualStudio.Modeling.Diagrams 命名空間