MapsSearchModelFactory.AddressAdminDistrictsItem(String, String) Method

Definition

Initializes a new instance of AddressAdminDistrictsItem.

public static Azure.Maps.Search.Models.AddressAdminDistrictsItem AddressAdminDistrictsItem (string name = default, string shortName = default);
static member AddressAdminDistrictsItem : string * string -> Azure.Maps.Search.Models.AddressAdminDistrictsItem
Public Shared Function AddressAdminDistrictsItem (Optional name As String = Nothing, Optional shortName As String = Nothing) As AddressAdminDistrictsItem

Parameters

name
String

The name for the corresponding adminDistrict field, For adminDistrict[0], this could be full name of state such as Washington, For adminDistrict[1], this could be the full name of the county

shortName
String

The short name for the corresponding adminDistrict field, For adminDistrict[0], this could be short name of state such as WA, For adminDistrict[1], this could be the short name of the county

Returns

A new AddressAdminDistrictsItem instance for mocking.

Applies to