Share via


ESim.SlotIndex Property

Definition

Gets the 0-based slot index (slot number) that the eSim corresponds to. ESim.SlotIndex matches the Index property of the corresponding MobileBroadbandSlotInfo object.

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 to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.

public:
 property IReference<int> ^ SlotIndex { IReference<int> ^ get(); };
IReference<int> SlotIndex();
public System.Nullable<int> SlotIndex { get; }
var iReference = eSim.slotIndex;
Public ReadOnly Property SlotIndex As Nullable(Of Integer)

Property Value

The 0-based slot index (slot number) that the eSim corresponds to, or null if the modem doesn't support the multi-SIM function.

Windows requirements

Device family
Windows 11 Insider Preview (introduced in 10.0.23504.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v15.0)
App capabilities
Microsoft.eSIMManagement_8wekyb3d8bbwe

Applies to