Udostępnij za pośrednictwem


Metoda DropTargetContext.GetSourceId —

Źródłowy identyfikator ShapeElement Guid pobiera odpowiadających danym docelowy identyfikator ShapeElement Guid.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Diagrams
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Składnia

'Deklaracja
Public Shared Function GetSourceId ( _
    transaction As Transaction, _
    targetShapeElementId As Guid _
) As Guid
public static Guid GetSourceId(
    Transaction transaction,
    Guid targetShapeElementId
)

Parametry

  • targetShapeElementId
    Typ: System.Guid
    Identyfikator Guid obiektu docelowego ShapeElement.

Wartość zwracana

Typ: System.Guid

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

DropTargetContext Klasa

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Diagrams