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 ShapeElement Guid corresponding to the given target ShapeElement Guid.
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 GetSourceId ( _
transaction As Transaction, _
targetShapeElementId As Guid _
) As Guid
public static Guid GetSourceId(
Transaction transaction,
Guid targetShapeElementId
)
public:
static Guid GetSourceId(
Transaction^ transaction,
Guid targetShapeElementId
)
static member GetSourceId :
transaction:Transaction *
targetShapeElementId:Guid -> Guid
public static function GetSourceId(
transaction : Transaction,
targetShapeElementId : Guid
) : Guid
Parameters
- transaction
Type: Microsoft.VisualStudio.Modeling.Transaction
The transaction to check for the drop target context.
- targetShapeElementId
Type: System.Guid
The Guid of the target ShapeElement.
Return Value
Type: System.Guid
.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.