AddressSettingsFactoryCreate(String, String) Method

Create address settings to use for address searches, based on the locale string and the address database.

Definition

Namespace: StreetSmart.Common.Factories
Assembly: StreetSmart.WinForms (in StreetSmart.WinForms.dll) Version: 24.7.0.0+cc0a01953d1235087ce28d3e921f5bb47d3c0460
C#
public static IAddressSettings Create(
	string locale,
	string database
)

Parameters

locale  String
The locale to use. e.g. 'nl'
database  String
The name of the database. e.g. 'CMDatabase'

Return Value

IAddressSettings
The address settings interface to use for address searches

Example

This sample shows how to use the Create(String, String) method.
C#
// Create an address settings that are used in the application
string locale = "nl";
string database = "CMDatabase";
IAddressSettings addressSettings = AddressSettingsFactory.Create(locale, database);

Version Information

Supported in: 18.7

See Also