CountryResponse Constructor (Continent, Country, MaxMind, Country, RepresentedCountry, Traits) |
Constructor
Namespace:
MaxMind.GeoIP2.Responses
Assembly:
MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax public CountryResponse(
Continent continent = null,
Country country = null,
MaxMind maxMind = null,
Country registeredCountry = null,
RepresentedCountry representedCountry = null,
Traits traits = null
)
Public Sub New (
Optional continent As Continent = Nothing,
Optional country As Country = Nothing,
Optional maxMind As MaxMind = Nothing,
Optional registeredCountry As Country = Nothing,
Optional representedCountry As RepresentedCountry = Nothing,
Optional traits As Traits = Nothing
)
public:
CountryResponse(
Continent^ continent = nullptr,
Country^ country = nullptr,
MaxMind^ maxMind = nullptr,
Country^ registeredCountry = nullptr,
RepresentedCountry^ representedCountry = nullptr,
Traits^ traits = nullptr
)
new :
?continent : Continent *
?country : Country *
?maxMind : MaxMind *
?registeredCountry : Country *
?representedCountry : RepresentedCountry *
?traits : Traits
(* Defaults:
let _continent = defaultArg continent null
let _country = defaultArg country null
let _maxMind = defaultArg maxMind null
let _registeredCountry = defaultArg registeredCountry null
let _representedCountry = defaultArg representedCountry null
let _traits = defaultArg traits null
*)
-> CountryResponse
Parameters
- continent (Optional)
- Type: MaxMind.GeoIP2.ModelContinent
- country (Optional)
- Type: MaxMind.GeoIP2.ModelCountry
- maxMind (Optional)
- Type: MaxMind.GeoIP2.ModelMaxMind
- registeredCountry (Optional)
- Type: MaxMind.GeoIP2.ModelCountry
- representedCountry (Optional)
- Type: MaxMind.GeoIP2.ModelRepresentedCountry
- traits (Optional)
- Type: MaxMind.GeoIP2.ModelTraits
See Also