DropTargetContext.GetTargetDiagramId Method
Gets the diagram id of the drop target.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Dichiarazione
Public Shared Function GetTargetDiagramId ( _
transaction As Transaction _
) As Guid
public static Guid GetTargetDiagramId(
Transaction transaction
)
public:
static Guid GetTargetDiagramId(
Transaction^ transaction
)
static member GetTargetDiagramId :
transaction:Transaction -> Guid
public static function GetTargetDiagramId(
transaction : Transaction
) : Guid
Parameters
- transaction
Type: Microsoft.VisualStudio.Modeling.Transaction
The transaction to check for the drop target context.
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.