Show / Hide Table of Contents

Struct LocationData

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: WeatherAPI_CSharp
Assembly: WeatherAPI-CSharp.dll
Syntax
public readonly struct LocationData

Properties

| Edit this page View Source

City

Declaration
public string City { get; }
Property Value
Type Description
string

City name

| Edit this page View Source

ContinentCode

Declaration
public string ContinentCode { get; }
Property Value
Type Description
string

Continent code

| Edit this page View Source

ContinentName

Declaration
public string ContinentName { get; }
Property Value
Type Description
string

Continent name

| Edit this page View Source

CountryCode

Declaration
public string CountryCode { get; }
Property Value
Type Description
string

Country code

| Edit this page View Source

CountryName

Declaration
public string CountryName { get; }
Property Value
Type Description
string

Country name

| Edit this page View Source

GeonameId

Declaration
public string GeonameId { get; }
Property Value
Type Description
string

Geoname ID

| Edit this page View Source

Ip

Declaration
public string Ip { get; }
Property Value
Type Description
string

IP address

| Edit this page View Source

IsEu

Declaration
public bool IsEu { get; }
Property Value
Type Description
bool

Weather the country is in the EU

| Edit this page View Source

Latitude

Declaration
public double Latitude { get; }
Property Value
Type Description
double

Latitude in decimal degrees

| Edit this page View Source

Longitude

Declaration
public double Longitude { get; }
Property Value
Type Description
double

Longitude in decimal degrees

| Edit this page View Source

Region

Declaration
public string Region { get; }
Property Value
Type Description
string

Region name

| Edit this page View Source

Timezone

Declaration
public string Timezone { get; }
Property Value
Type Description
string

Time zone name

| Edit this page View Source

Type

Declaration
public string Type { get; }
Property Value
Type Description
string

IP address type (ipv4/ipv6)

| Edit this page View Source

Valid

Declaration
public bool Valid { get; }
Property Value
Type Description
bool

Whether or not the API request was successfull

Methods

| Edit this page View Source

ToString()

Generates string of all Members and their values

Declaration
public override string ToString()
Returns
Type Description
string

Printable string of members and their values

Overrides
ValueType.ToString()
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX