Noda Time
WithPatternText Method (newPatternText)
NamespacesNodaTime.TextOffsetDateTimePatternWithPatternText(String)

[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.
Declaration Syntax
C#Visual BasicVisual C++
public OffsetDateTimePattern WithPatternText(
	string newPatternText
)
Public Function WithPatternText ( _
	newPatternText As String _
) As OffsetDateTimePattern
public:
OffsetDateTimePattern^ WithPatternText(
	String^ newPatternText
)
Parameters
newPatternText (String)
The pattern text to use in the new pattern.
Return Value
A new pattern with the given pattern text.

Assembly: NodaTime (Module: NodaTime.dll) Version: 1.2.0.0 (1.2.0)