EnterpriseResponse Constructor |
Constructor
Namespace:
MaxMind.GeoIP2.Responses
Assembly:
MaxMind.GeoIP2 (in MaxMind.GeoIP2.dll) Version: 3.0.0
Syntax public EnterpriseResponse(
City city = null,
Continent continent = null,
Country country = null,
Location location = null,
MaxMind maxMind = null,
Postal postal = null,
Country registeredCountry = null,
RepresentedCountry representedCountry = null,
IEnumerable<Subdivision> subdivisions = null,
Traits traits = null
)
Public Sub New (
Optional city As City = Nothing,
Optional continent As Continent = Nothing,
Optional country As Country = Nothing,
Optional location As Location = Nothing,
Optional maxMind As MaxMind = Nothing,
Optional postal As Postal = Nothing,
Optional registeredCountry As Country = Nothing,
Optional representedCountry As RepresentedCountry = Nothing,
Optional subdivisions As IEnumerable(Of Subdivision) = Nothing,
Optional traits As Traits = Nothing
)
public:
EnterpriseResponse(
City^ city = nullptr,
Continent^ continent = nullptr,
Country^ country = nullptr,
Location^ location = nullptr,
MaxMind^ maxMind = nullptr,
Postal^ postal = nullptr,
Country^ registeredCountry = nullptr,
RepresentedCountry^ representedCountry = nullptr,
IEnumerable<Subdivision^>^ subdivisions = nullptr,
Traits^ traits = nullptr
)
new :
?city : City *
?continent : Continent *
?country : Country *
?location : Location *
?maxMind : MaxMind *
?postal : Postal *
?registeredCountry : Country *
?representedCountry : RepresentedCountry *
?subdivisions : IEnumerable<Subdivision> *
?traits : Traits
(* Defaults:
let _city = defaultArg city null
let _continent = defaultArg continent null
let _country = defaultArg country null
let _location = defaultArg location null
let _maxMind = defaultArg maxMind null
let _postal = defaultArg postal null
let _registeredCountry = defaultArg registeredCountry null
let _representedCountry = defaultArg representedCountry null
let _subdivisions = defaultArg subdivisions null
let _traits = defaultArg traits null
*)
-> EnterpriseResponse
Parameters
- city (Optional)
- Type: MaxMind.GeoIP2.ModelCity
- continent (Optional)
- Type: MaxMind.GeoIP2.ModelContinent
- country (Optional)
- Type: MaxMind.GeoIP2.ModelCountry
- location (Optional)
- Type: MaxMind.GeoIP2.ModelLocation
- maxMind (Optional)
- Type: MaxMind.GeoIP2.ModelMaxMind
- postal (Optional)
- Type: MaxMind.GeoIP2.ModelPostal
- registeredCountry (Optional)
- Type: MaxMind.GeoIP2.ModelCountry
- representedCountry (Optional)
- Type: MaxMind.GeoIP2.ModelRepresentedCountry
- subdivisions (Optional)
- Type: System.Collections.GenericIEnumerableSubdivision
- traits (Optional)
- Type: MaxMind.GeoIP2.ModelTraits
See Also