共用方式為


DragSourceContext.GetDiagramId Method

Include Protected Members
Include Inherited Members

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public methodStatic member GetDiagramId(ElementGroup) Gets the source diagram id. This can return Guid.Empty if no diagram id was specified or no drag source context is available.
Public methodStatic member GetDiagramId(ElementGroupPrototype) Gets the source diagram id. This can return Guid.Empty if no diagram id was specified or no drag source context is available.

Top

See Also

Reference

DragSourceContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace