DragSourceContext.GetInitialPrimaryShapeId 方法 (ElementGroup)

返回主要形状的 GUID 在 ElementGroupPototype 的。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Public Shared Function GetInitialPrimaryShapeId ( _
    elementGroup As ElementGroup _
) As Guid
public static Guid GetInitialPrimaryShapeId(
    ElementGroup elementGroup
)

参数

返回值

类型:System.Guid

.NET Framework 安全性

请参见

参考

DragSourceContext 类

GetInitialPrimaryShapeId 重载

Microsoft.VisualStudio.Modeling.Diagrams 命名空间