MapsSearchModelFactory.BoundaryProperties Method

Definition

Initializes a new instance of BoundaryProperties.

public static Azure.Maps.Search.Models.BoundaryProperties BoundaryProperties (string name = default, string copyright = default, string copyrightUrl = default, System.Collections.Generic.IEnumerable<Azure.Maps.Search.Models.GeometryCopyright> geometriesCopyright = default);
static member BoundaryProperties : string * string * string * seq<Azure.Maps.Search.Models.GeometryCopyright> -> Azure.Maps.Search.Models.BoundaryProperties
Public Shared Function BoundaryProperties (Optional name As String = Nothing, Optional copyright As String = Nothing, Optional copyrightUrl As String = Nothing, Optional geometriesCopyright As IEnumerable(Of GeometryCopyright) = Nothing) As BoundaryProperties

Parameters

name
String

The name associated with the geographical area.

copyright
String

The copyright string.

copyrightUrl
String

A URL that lists many of the data providers for Azure Maps and their related copyright information.

geometriesCopyright
IEnumerable<GeometryCopyright>

A collection of copyright information for each geometry of the Boundary object in the same order they appear.

Returns

A new BoundaryProperties instance for mocking.

Applies to