Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the source diagram id. This can return Guid.Empty if no diagram id was specified or no drag source context is available.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'Declaration
Public Shared Function GetDiagramId ( _
elementGroup As ElementGroup _
) As Guid
public static Guid GetDiagramId(
ElementGroup elementGroup
)
public:
static Guid GetDiagramId(
ElementGroup^ elementGroup
)
static member GetDiagramId :
elementGroup:ElementGroup -> Guid
public static function GetDiagramId(
elementGroup : ElementGroup
) : Guid
Parameters
- elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroup
The ElementGroup where the DragSourceContext has been saved to.
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.