Noda Time
WithTemplateValue Method (newTemplateValue)
NamespacesNodaTime.TextOffsetDateTimePatternWithTemplateValue(OffsetDateTime)

[This is preliminary documentation and is subject to change.]

Creates a pattern for the same original pattern text and culture as this pattern, but with the specified template value.
Declaration Syntax
C#Visual BasicVisual C++
public OffsetDateTimePattern WithTemplateValue(
	OffsetDateTime newTemplateValue
)
Public Function WithTemplateValue ( _
	newTemplateValue As OffsetDateTime _
) As OffsetDateTimePattern
public:
OffsetDateTimePattern^ WithTemplateValue(
	OffsetDateTime newTemplateValue
)
Parameters
newTemplateValue (OffsetDateTime)
The template value to use in the new pattern.
Return Value
A new pattern with the given template value.

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