Delen via


DropTargetContext.GetTargetDiagramId Method

Gets the diagram id of the drop target.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
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

Return Value

Type: System.Guid

.NET Framework Security

See Also

Reference

DropTargetContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace