Dela via


LocalLocation.HoursOfOperation Property

Definition

Gets the hours of operation of this location.

Note

This API is not available to all Windows apps. Unless your developer account is specially provisioned by Microsoft, calls to this API will fail at runtime. For more information about the Windows.Services.Maps.LocalSearch namespace, please work with your Microsoft Account Team representative.

public:
 property IVectorView<LocalLocationHoursOfOperationItem ^> ^ HoursOfOperation { IVectorView<LocalLocationHoursOfOperationItem ^> ^ get(); };
IVectorView<LocalLocationHoursOfOperationItem> HoursOfOperation();
public IReadOnlyList<LocalLocationHoursOfOperationItem> HoursOfOperation { get; }
var iVectorView = localLocation.hoursOfOperation;
Public ReadOnly Property HoursOfOperation As IReadOnlyList(Of LocalLocationHoursOfOperationItem)

Property Value

The hours of operation of this location.

Windows requirements

Device family
Windows Desktop Extension SDK (introduced in 10.0.14393.0)
Windows Mobile Extension SDK (introduced in 10.0.14393.0)
Windows Team Extension SDK (introduced in 10.0.14393.0)
API contract
Windows.Services.Maps.LocalSearchContract (introduced in v3.0)

Applies to