共用方式為


ProfileMediaType 列舉

定義

描述已布建網路連線設定檔的網路類型。

注意

這項功能僅適用于行動電信業者提供特殊許可權存取權的電信業者應用程式和 UWP 應用程式。

如果您想要使用此 API 並將您的應用程式發佈至 Microsoft Store,則需要特殊核准。 如需詳細資訊,請參閱應用程式功能宣告主題中的受限制功能一節。

public enum class ProfileMediaType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class ProfileMediaType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum ProfileMediaType
var value = Windows.Networking.NetworkOperators.ProfileMediaType.wlan
Public Enum ProfileMediaType
繼承
ProfileMediaType
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)
應用程式功能
cellularDeviceControl cellularDeviceIdentity

欄位

Wlan 0

設定檔適用于 WLAN) (無線區域網路。

Wwan 1

設定檔適用于 WWAN) (無線廣域網路。

適用於