Share via


MapsTimeZonesModelFactory.CountryRecord(String, String) Method

Definition

Initializes a new instance of CountryRecord.

public static Azure.Maps.TimeZones.CountryRecord CountryRecord (string name = default, string code = default);
static member CountryRecord : string * string -> Azure.Maps.TimeZones.CountryRecord
Public Shared Function CountryRecord (Optional name As String = Nothing, Optional code As String = Nothing) As CountryRecord

Parameters

name
String

country/region Name.

code
String

ISO-3166 2-letter country/region code for the country/region.

Returns

A new CountryRecord instance for mocking.

Applies to