MaxMind.GeoIP2 : MaxMind.GeoIP2.Model Namespace

Continent Class

Contains data for the continent record associated with an IP address. Do not use any of the continent names as a database or dictionary key. Use the or instead.

Syntax

public class Continent : NamedEntity

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

Members

See Also: Inherited members from NamedEntity.

Public Constructors

Public Properties

[read-only]
Code string . A two character continent code like "NA" (North America) or "OC" (Oceania).
[read-only]
GeoNameId Nullable<int> . The GeoName ID for the city. (Inherited from NamedEntity.)
[read-only]
Name string . The name of the city based on the locales list passed to the MaxMind.GeoIP2.WebServiceClient constructor. Don't use any of these names as a database or dictionary key. Use the or relevant code instead. (Inherited from NamedEntity.)
[read-only]
Names Dictionary<string, string> . A Dictionary`2 from locale codes to the name in that locale. Don't use any of these names as a database or dictionary key. Use the or relevant code instead. (Inherited from NamedEntity.)

Protected Properties

Locales IEnumerable<string> . Gets or sets the locales specified by the user. (Inherited from NamedEntity.)

Public Methods

override
ToString () : string
Returns a string that represents this instance. (Inherited from NamedEntity.)

Member Details

Continent Constructor

Constructor

Syntax

public Continent ()

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

Continent Constructor

Constructor

Syntax

public Continent (string code, Nullable<int> geoNameId, IDictionary<string, string> names, IEnumerable<string> locales)

Parameters

code
Documentation for this section has not yet been entered.
geoNameId
Documentation for this section has not yet been entered.
names
Documentation for this section has not yet been entered.
locales
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

Continent Constructor

Constructor

Syntax

[MaxMind.Db.Constructor]
public Continent (string code, [MaxMind.Db.Parameter("geoname_id", false)] Nullable<long> geoNameId, IDictionary<string, string> names, IEnumerable<string> locales)

Parameters

code
Documentation for this section has not yet been entered.
geoNameId
Documentation for this section has not yet been entered.
names
Documentation for this section has not yet been entered.
locales
Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0

Code Property

A two character continent code like "NA" (North America) or "OC" (Oceania).

Syntax

[Newtonsoft.Json.JsonProperty("code")]
public string Code { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: MaxMind.GeoIP2.Model
Assembly: MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll)
Assembly Versions: 2.6.0.0