Sdílet prostřednictvím


DropTargetContext.GetSourceId – metoda

Získá zdroj ShapeElement Guid odpovídající dané cílové ShapeElement Guid.

Obor názvů:  Microsoft.VisualStudio.Modeling.Diagrams
Sestavení:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (v Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntaxe

'Deklarace
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
    Identifikátor Guid cílové ShapeElement.

Vrácená hodnota

Typ: System.Guid

Zabezpečení rozhraní .NET Framework

Viz také

Referenční dokumentace

DropTargetContext Třída

Microsoft.VisualStudio.Modeling.Diagrams – obor názvů