Windows Dev Center

ConnectionCost.Roaming | roaming property

Gets a value that indicates whether the connection is connected to a network outside of the home provider.

Syntax


var roaming = connectionCost.roaming;

Property value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

TRUE if the connection on a roaming network; otherwise, FALSE.

Remarks

Note  On Windows Phone 8.1, the Roaming property indicates roaming for international roaming only.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Networking.Connectivity
Windows::Networking::Connectivity [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Networking.Connectivity
Windows::Networking::Connectivity [C++]

Metadata

Windows.winmd

See also

ConnectionCost

 

 

Show:
© 2015 Microsoft