AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Contains a search result from a position search query that is run on a place index resource.

Inheritance Hierarchy

System.Object
  Amazon.LocationService.Model.SearchForPositionResult

Namespace: Amazon.LocationService.Model
Assembly: AWSSDK.LocationService.dll
Version: 3.x.y.z

Syntax

C#
public class SearchForPositionResult

The SearchForPositionResult type exposes the following members

Constructors

NameDescription
Public Method SearchForPositionResult()

Properties

NameTypeDescription
Public Property Distance System.Double

Gets and sets the property Distance.

The distance in meters of a great-circle arc between the query position and the result.

A great-circle arc is the shortest path on a sphere, in this case the Earth. This returns the shortest distance between two locations.

Public Property Place Amazon.LocationService.Model.Place

Gets and sets the property Place.

Details about the search result, such as its address and position.

Public Property PlaceId System.String

Gets and sets the property PlaceId.

The unique identifier of the place. You can use this with the GetPlace operation to find the place again later.

For SearchPlaceIndexForPosition operations, the PlaceId is returned only by place indexes that use HERE or Grab as a data provider.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5