Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Shared Function GetInitialDragLocation ( _
elementGroup As ElementGroup _
) As PointD
'使用
Dim elementGroup As ElementGroup
Dim returnValue As PointD
returnValue = DragSourceContext.GetInitialDragLocation(elementGroup)
public static PointD GetInitialDragLocation(
ElementGroup elementGroup
)
public:
static PointD GetInitialDragLocation(
ElementGroup^ elementGroup
)
public static function GetInitialDragLocation(
elementGroup : ElementGroup
) : PointD
Parameters
- elementGroup
Type: Microsoft.VisualStudio.Modeling.ElementGroup
Return Value
Type: Microsoft.VisualStudio.Modeling.Diagrams.PointD
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.