DragSourceContext.GetInitialPrimaryShapeId 方法

定义

重载

GetInitialPrimaryShapeId(ElementGroup)

返回 ElementGroupPototype 中主形状的 Guid。

GetInitialPrimaryShapeId(ElementGroupPrototype)

返回 ElementGroupPototype 中主形状的 Guid。

GetInitialPrimaryShapeId(ElementGroup)

返回 ElementGroupPototype 中主形状的 Guid。

public:
 static Guid GetInitialPrimaryShapeId(Microsoft::VisualStudio::Modeling::ElementGroup ^ elementGroup);
public static Guid GetInitialPrimaryShapeId (Microsoft.VisualStudio.Modeling.ElementGroup elementGroup);
static member GetInitialPrimaryShapeId : Microsoft.VisualStudio.Modeling.ElementGroup -> Guid
Public Shared Function GetInitialPrimaryShapeId (elementGroup As ElementGroup) As Guid

参数

elementGroup
ElementGroup

已将 DragSourceContext 保存到的 ElementGroup。

返回

Guid

ElementGroupPototype 中主形状的 Guid。

适用于

GetInitialPrimaryShapeId(ElementGroupPrototype)

返回 ElementGroupPototype 中主形状的 Guid。

public:
 static Guid GetInitialPrimaryShapeId(Microsoft::VisualStudio::Modeling::ElementGroupPrototype ^ elementGroupPrototype);
public static Guid GetInitialPrimaryShapeId (Microsoft.VisualStudio.Modeling.ElementGroupPrototype elementGroupPrototype);
static member GetInitialPrimaryShapeId : Microsoft.VisualStudio.Modeling.ElementGroupPrototype -> Guid
Public Shared Function GetInitialPrimaryShapeId (elementGroupPrototype As ElementGroupPrototype) As Guid

参数

elementGroupPrototype
ElementGroupPrototype

已将 DragSourceContext 保存到的 Elementgroupprototype 创建 elementgroup。

返回

Guid

ElementGroupPototype 中主形状的 Guid。

适用于