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
'Déclaration
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
- elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
The ElementGroupPrototype where the DragSourceContext has been saved to.
Return Value
Type: System.Int32
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.