[This is preliminary documentation and is subject to change.]
Returns a comparer operating over the same interval as this one, but with the given
set of options.
| C# | Visual Basic | Visual C++ |
public ZoneEqualityComparer WithOptions( ZoneEqualityComparer..::..Options options )
Public Function WithOptions ( _ options As ZoneEqualityComparer..::..Options _ ) As ZoneEqualityComparer
public: ZoneEqualityComparer^ WithOptions( ZoneEqualityComparer..::..Options options )
- options (ZoneEqualityComparer..::..Options)
- New set of options, which must consist of flags defined within the ZoneEqualityComparer..::..Options enum.
A comparer operating over the same interval as this one, but with the given set of options.
This method does not modify the comparer on which it's called.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The specified options are invalid. |
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)