Share via


DragSourceContext.GetProcessId Method (ElementGroupPrototype)

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

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Public Shared Function GetProcessId ( _
    elementGroupPrototype As ElementGroupPrototype _
) As Integer
public static int GetProcessId(
    ElementGroupPrototype elementGroupPrototype
)
public:
static int GetProcessId(
    ElementGroupPrototype^ elementGroupPrototype
)
static member GetProcessId : 
        elementGroupPrototype:ElementGroupPrototype -> int 
public static function GetProcessId(
    elementGroupPrototype : ElementGroupPrototype
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

DragSourceContext Class

GetProcessId Overload

Microsoft.VisualStudio.Modeling.Diagrams Namespace