Dela via


MobileBroadbandSlotManager.CurrentSlotIndex Property

Definition

Gets the current 0-based slot index.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need special approval. For more information, see the Restricted capabilities section in the App capability declarations topic.

public:
 property int CurrentSlotIndex { int get(); };
int CurrentSlotIndex();
public int CurrentSlotIndex { get; }
var int32 = mobileBroadbandSlotManager.currentSlotIndex;
Public ReadOnly Property CurrentSlotIndex As Integer

Property Value

Int32

int

The current 0-based slot index.

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Applies to