TileSource.SetSubdomains Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Sets a matrix that represents subdomains.

Namespace:  Microsoft.Phone.Maps.Controls
Assembly:  Microsoft.Phone.Maps (in Microsoft.Phone.Maps.dll)

Syntax

Public Sub SetSubdomains ( _
    subdomains As String()() _
)
public void SetSubdomains(
    string[][] subdomains
)

Parameters

  • subdomains
    Type: array<array<System..::.String>[]()[]>[]()[]
    A string matrix that specifies the subdomains.

Remarks

If your app doesn’t call the SetSubdomains method, the Map control uses values from 0 to 7. If the server doesn’t support these subdomains, an error may occur when you use the subdomain tag in the Uri.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

See Also

Reference

TileSource Class

Microsoft.Phone.Maps.Controls Namespace