Export (0) Print
Expand All

LocationLongitude Property

Updated: August 2, 2013

Published: April 2, 2014

Gets or sets the longitude information to use for ad targeting.

Namespace: Microsoft.Advertising.Mobile.Xna

Assembly: Microsoft.Advertising.Mobile.Xna (in Microsoft.Advertising.Mobile.Xna)

public double LocationLongitude { get; set; }

Property Value

Property

Type

Valid Values

LocationLongitude

Double

The longitude value is a range from -180.0 to 180.0. Setting the longitude outside of that range will throw the invalid-location argument exception.

Exceptions

Exception

Description

System.ArgumentException

Invalid location. The value is outside the range of -180.0 to 180.0 degrees.

The longitude value is a range from -180.0 to 180.0. Setting the longitude outside of that range will throw the invalid location argument exception.

Platforms

Windows Phone 7.x only

Support and Feedback

Get product support or report a bug in the product by visiting the Windows Phone Dev Center support page (scroll down to the section "Microsoft Advertising support").

Send feedback about this documentation to adsfdbk@microsoft.com. There is no product support through this alias. Documentation feedback only.

Community Additions

ADD
Show:
© 2014 Microsoft