GeoInfo Constructor
Initializes a new instance of the
GeoInfo class.
Namespace: DevCase.Core.Networking.CommonAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public GeoInfo(
string countryName,
string countryCode,
string regionName,
string regionCode,
string city,
string postalCode,
string hostname,
string ip,
string latitude,
string longitude
)
Public Sub New (
countryName As String,
countryCode As String,
regionName As String,
regionCode As String,
city As String,
postalCode As String,
hostname As String,
ip As String,
latitude As String,
longitude As String
)
Dim countryName As String
Dim countryCode As String
Dim regionName As String
Dim regionCode As String
Dim city As String
Dim postalCode As String
Dim hostname As String
Dim ip As String
Dim latitude As String
Dim longitude As String
Dim instance As New GeoInfo(countryName,
countryCode, regionName, regionCode,
city, postalCode, hostname, ip, latitude,
longitude)
public:
GeoInfo(
String^ countryName,
String^ countryCode,
String^ regionName,
String^ regionCode,
String^ city,
String^ postalCode,
String^ hostname,
String^ ip,
String^ latitude,
String^ longitude
)
new :
countryName : string *
countryCode : string *
regionName : string *
regionCode : string *
city : string *
postalCode : string *
hostname : string *
ip : string *
latitude : string *
longitude : string -> GeoInfo
No code example is currently available or this language may not be supported.
Parameters
- countryName String
-
The name of the country.
- countryCode String
-
The codename of the country.
- regionName String
-
The name of the region.
- regionCode String
-
The codename of the region.
- city String
-
The name of the city.
- postalCode String
-
The postal code.
- hostname String
-
The hostname.
- ip String
-
The IP address.
- latitude String
-
The latitude coordinates.
- longitude String
-
The longitude coordinates.