Share via


MobileBroadbandCellGsm.LocationAreaCode Property

Definition

Gets the Location Area Code (LAC).

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 IReference<int> ^ LocationAreaCode { IReference<int> ^ get(); };
IReference<int> LocationAreaCode();
public System.Nullable<int> LocationAreaCode { get; }
var iReference = mobileBroadbandCellGsm.locationAreaCode;
Public ReadOnly Property LocationAreaCode As Nullable(Of Integer)

Property Value

The Location Area Code (LAC).

Windows requirements

App capabilities
cellularDeviceControl cellularDeviceIdentity

Remarks

The range of this value is 0~65535; returns null if unknown.

Applies to