[This is preliminary documentation and is subject to change.]
Returns a read-only list of zone locations known to this source.

C# | Visual Basic | Visual C++ |
public IList<TzdbZoneLocation> ZoneLocations { get; }
Public ReadOnly Property ZoneLocations As IList(Of TzdbZoneLocation) Get
public: property IList<TzdbZoneLocation^>^ ZoneLocations { IList<TzdbZoneLocation^>^ get (); }

Every zone location's time zone ID is guaranteed to be valid within this source (assuming the source has been validated).
The legacy resource format does not include location information, and this property will throw an exception if the information is requested. It is expected that callers who wish to use newer features will not be attempting to use legacy formats for time zone data.

Exception | Condition |
---|---|
InvalidOperationException | This is a legacy resource-based data source which does
not include location information. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)