[This is preliminary documentation and is subject to change.]
Creates a pattern for the same original localization information as this pattern, but with the specified
pattern text.

C# | Visual Basic | Visual C++ |
public OffsetDateTimePattern WithPatternText( string newPatternText )
Public Function WithPatternText ( _ newPatternText As String _ ) As OffsetDateTimePattern
public: OffsetDateTimePattern^ WithPatternText( String^ newPatternText )

- newPatternText (String)
- The pattern text to use in the new pattern.

A new pattern with the given pattern text.
Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)