Partager via


DragSourceContext.GetProcessId Method

Definition

Overloads

GetProcessId(ElementGroup)

Gets the source process id. This can return 0 if no process id was specified or no drag source context is available.

GetProcessId(ElementGroupPrototype)

Gets the source process id. This can return 0 if no process id was specified or no drag source context is available.

GetProcessId(ElementGroup)

Gets the source process id. This can return 0 if no process id was specified or no drag source context is available.

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

Parameters

elementGroup
ElementGroup

The ElementGroup where the DragSourceContext has been saved to.

Returns

The source process id.

Applies to

GetProcessId(ElementGroupPrototype)

Gets the source process id. This can return 0 if no process id was specified or no drag source context is available.

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

Parameters

elementGroupPrototype
ElementGroupPrototype

The ElementGroupPrototype where the DragSourceContext has been saved to.

Returns

The source process id.

Applies to