DragSourceContext.GetStoreId 方法 (ElementGroup)

获取源存储 ID.这会返回 Guid.Empty,如果存储 ID 未指定或拖动源上下文不可用。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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 命名空间