MobileBroadbandSlotManager.SetCurrentSlot(Int32) 方法

定义

切换到由从 0 开始的槽索引指定的槽。

注意

此功能仅适用于移动运营商应用和由移动网络运营商授予特权访问权限的 UWP 应用。

如果要使用此 API 并将应用发布到 Microsoft Store,则需要获得特殊批准。 有关详细信息,请参阅应用功能声明主题中的受限功能部分。

public:
 virtual MobileBroadbandModemStatus SetCurrentSlot(int slotIndex) = SetCurrentSlot;
MobileBroadbandModemStatus SetCurrentSlot(int const& slotIndex);
public MobileBroadbandModemStatus SetCurrentSlot(int slotIndex);
function setCurrentSlot(slotIndex)
Public Function SetCurrentSlot (slotIndex As Integer) As MobileBroadbandModemStatus

参数

slotIndex
Int32

int

要切换到的从 0 开始的槽索引。

返回

MobileBroadbandModemStatus

Windows 要求

应用功能
cellularDeviceControl cellularDeviceIdentity

适用于