Partager via


DragSourceContext.GetStoreId Method

Definition

Overloads

GetStoreId(ElementGroup)

Gets the source store id. This can return Guid.Empty if no store id was specified or no drag source context is available.

GetStoreId(ElementGroupPrototype)

Gets the source store id. This can return Guid.Empty if no store id was specified or no drag source context is available.

GetStoreId(ElementGroup)

Gets the source store id. This can return Guid.Empty if no store id was specified or no drag source context is available.

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

Parameters

elementGroup
ElementGroup

The ElementGroup where the DragSourceContext has been saved to.

Returns

The source store id.

Applies to

GetStoreId(ElementGroupPrototype)

Gets the source store id. This can return Guid.Empty if no store id was specified or no drag source context is available.

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

Parameters

elementGroupPrototype
ElementGroupPrototype

The ElementGroupPrototype where the DragSourceContext has been saved to.

Returns

The source store id.

Applies to