Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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 ( _
elementGroup As ElementGroup _
) As Integer
public static int GetProcessId(
ElementGroup elementGroup
)
public:
static int GetProcessId(
ElementGroup^ elementGroup
)
static member GetProcessId :
elementGroup:ElementGroup -> int
public static function GetProcessId(
elementGroup : ElementGroup
) : int
Parameters
- elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroup
The ElementGroup 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.