Kommentar
Å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.
Adds a GhostShapeCollection to the ElementGroupPrototype in the specified IDataObject.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)
Syntax
'Declaration
Public Shared Sub AddGhostShapesContext ( _
data As IDataObject, _
diagram As Diagram, _
initialDragLocation As PointD _
)
public static void AddGhostShapesContext(
IDataObject data,
Diagram diagram,
PointD initialDragLocation
)
public:
static void AddGhostShapesContext(
IDataObject^ data,
Diagram^ diagram,
PointD initialDragLocation
)
static member AddGhostShapesContext :
data:IDataObject *
diagram:Diagram *
initialDragLocation:PointD -> unit
public static function AddGhostShapesContext(
data : IDataObject,
diagram : Diagram,
initialDragLocation : PointD
)
Parameters
data
Type: IDataObjectThe IDataObject that contains an ElementGroupPrototype to update.
diagram
Type: Microsoft.VisualStudio.Modeling.Diagrams.DiagramThe source diagram.
initialDragLocation
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointDThe initial location of the mouse in absolute world coordinates.
.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.