다음을 통해 공유


ExtensionMethods.ToPOINTL Method

Converts a given Point object to a POINTL.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

‘선언
<ExtensionAttribute> _
Public Shared Function ToPOINTL ( _
    point As Point _
) As POINTL
‘사용 방법
Dim point As Point
Dim returnValue As POINTL

returnValue = point.ToPOINTL()
public static POINTL ToPOINTL(
    this Point point
)
[ExtensionAttribute]
public:
static POINTL ToPOINTL(
    Point point
)
static member ToPOINTL : 
        point:Point -> POINTL 
public static function ToPOINTL(
    point : Point
) : POINTL

Parameters

Return Value

Type: Microsoft.VisualStudio.OLE.Interop.POINTL

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Point. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

ExtensionMethods Class

ExtensionMethods Members

Microsoft.VisualStudio.PlatformUI Namespace