Compartilhar via


Método DropTargetContext.GetSourceId

Obtém a fonte ShapeElement Guid correspondente ao destino determinado ShapeElement Guid.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (em Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Sintaxe

'Declaração
Public Shared Function GetSourceId ( _
    transaction As Transaction, _
    targetShapeElementId As Guid _
) As Guid
public static Guid GetSourceId(
    Transaction transaction,
    Guid targetShapeElementId
)

Parâmetros

  • targetShapeElementId
    Tipo: System.Guid
    O Guid do destino ShapeElement.

Valor de retorno

Tipo: System.Guid

Segurança do .NET Framework

Consulte também

Referência

DropTargetContext Classe

Namespace Microsoft.VisualStudio.Modeling.Diagrams