NullMode.TryViewportPointToLocation Method

This documentation is no longer available on MSDN, however it is available as a CHM download.

Tries to convert the specified viewport point to a location.

Namespace: Microsoft.Maps.MapControl.Core
Assembly: Microsoft.Maps.MapControl (in Microsoft.Maps.MapControl.dll)

Usage

Syntax

'Declaration
Public Overrides Function TryViewportPointToLocation ( _
    viewportPoint As Point, _
    <OutAttribute> ByRef location As Location _
) As Boolean
public override bool TryViewportPointToLocation (
    Point viewportPoint,
    out Location location
)
public:
virtual bool TryViewportPointToLocation (
    Point viewportPoint, 
    [OutAttribute] Location^% location
) override
public boolean TryViewportPointToLocation (
    Point viewportPoint, 
    /** @attribute OutAttribute() */ /** @ref */ Location location
)

Parameters

  • viewportPoint
    The viewport point to convert.
  • location
    The location which is the converted viewport point.

Return Value

Returns a Boolean indicating if the conversion was successful.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Target Platforms

See Also

Reference

NullMode Class
NullMode Members
Microsoft.Maps.MapControl.Core Namespace