Facebook Client

GraphLocation Class

namespace Facebook.Client
public classGraphLocation
Overview

Provides a strongly-typed representation of a Facebook Location as defined by the Graph API.

Supported in:
  • Windows Store
  • Windows Phone 8
Summary
Constructors
public .ctor()
Initializes a new instance of the GraphLocation class.
public .ctor(dynamic location)
Initializes a new instance of the GraphLocation class from a dynamic object returned by the Facebook API.
Properties
string public City
Gets or sets the city component of the location.
string public Country
Gets or sets the country component of the location.
double public Latitude
Gets or sets the latitude component of the location.
double public Longitude
Gets or sets the longitude component of the location.
string public State
Gets or sets the state component of the location.
string public Street
Gets or sets the street component of the location.
string public Zip
Gets or sets the postal code component of the location.
Constructors
public .ctor()
Initializes a new instance of the GraphLocation class.
public .ctor(dynamic location)
Initializes a new instance of the GraphLocation class from a dynamic object returned by the Facebook API.
Parameters
location
Properties
public City
Gets or sets the city component of the location.
public Country
Gets or sets the country component of the location.
public Latitude
Gets or sets the latitude component of the location.
public Longitude
Gets or sets the longitude component of the location.
public State
Gets or sets the state component of the location.
public Street
Gets or sets the street component of the location.
public Zip
Gets or sets the postal code component of the location.