AWS SDK Version 2 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.

.NET Framework 3.5
 
A complex type that contains information about a geo location.

Inheritance Hierarchy

System.Object
  Amazon.Route53.Model.GeoLocation

Namespace: Amazon.Route53.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class GeoLocation : Object

The GeoLocation type exposes the following members

Constructors

NameDescription
Public Method GeoLocation()

Properties

NameTypeDescription
Public Property ContinentCode System.String Gets and sets the property ContinentCode.

The code for a continent geo location. Note: only continent locations have a continent code.

Valid values: AF | AN | AS | EU | OC | NA | SA

Constraint: Specifying ContinentCode with either CountryCode or SubdivisionCode returns an InvalidInput error.

Public Property CountryCode System.String Gets and sets the property CountryCode.

The code for a country geo location. The default location uses '*' for the country code and will match all locations that are not matched by a geo location.

The default geo location uses a * for the country code. All other country codes follow the ISO 3166 two-character code.

Public Property SubdivisionCode System.String Gets and sets the property SubdivisionCode.

The code for a country's subdivision (e.g., a province of Canada). A subdivision code is only valid with the appropriate country code.

Constraint: Specifying SubdivisionCode without CountryCode returns an InvalidInput error.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8