Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the source ShapeElement Guid corresponding to the given target ShapeElement Guid.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.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.TransactionThe transaction to check for the drop target context.
targetShapeElementId
Type: GuidThe Guid of the target ShapeElement.
Return Value
Type: 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.