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