共用方式為


DeviceNetworkInformation.IsCellularDataRoamingEnabled 屬性

命名空間:  Microsoft.Phone.Net.NetworkInformation
組件:  Microsoft.Phone (在 Microsoft.Phone.dll 中)

語法

'宣告
Public Shared ReadOnly Property IsCellularDataRoamingEnabled As Boolean
public static bool IsCellularDataRoamingEnabled { get; }
public:
static property bool IsCellularDataRoamingEnabled {
    bool get ();
}
static member IsCellularDataRoamingEnabled : bool with get

屬性值

類型:System.Boolean

版本資訊

適用於 Windows Phone 應用程式的 .NET

支援版本:Windows Phone 8、Silverlight 8.1

.NET Framework 安全性

請參閱

參考

DeviceNetworkInformation 類別

Microsoft.Phone.Net.NetworkInformation 命名空間