Windows Dev Center

EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

ConnectionCost.Roaming | roaming property

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

Syntax


public:
property bool Roaming { 
   bool get();
}

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 (Windows 10 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 (Windows 8.x and Windows Phone 8.x)

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

 

 

Mostrar:
© 2015 Microsoft