Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Shared Sub Set ( _
elementGroupPrototype As ElementGroupPrototype, _
initialDragLocation As PointD, _
ghostShapes As GhostShapeCollection _
)
'使用
Dim elementGroupPrototype As ElementGroupPrototype
Dim initialDragLocation As PointD
Dim ghostShapes As GhostShapeCollection
DragSourceContext.Set(elementGroupPrototype, _
initialDragLocation, ghostShapes)
public static void Set(
ElementGroupPrototype elementGroupPrototype,
PointD initialDragLocation,
GhostShapeCollection ghostShapes
)
public:
static void Set(
ElementGroupPrototype^ elementGroupPrototype,
PointD initialDragLocation,
GhostShapeCollection^ ghostShapes
)
public static function Set(
elementGroupPrototype : ElementGroupPrototype,
initialDragLocation : PointD,
ghostShapes : GhostShapeCollection
)
Parameters
- elementGroupPrototype
Type: Microsoft.VisualStudio.Modeling.ElementGroupPrototype
- initialDragLocation
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
- ghostShapes
Type: Microsoft.VisualStudio.Modeling.Diagrams.GhostShapeCollection
Permissions
- 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.