DateTimeFormat Constructor (String, IFormatProvider)
Collapse the table of content
Expand the table of content

DateTimeFormat Constructor (String, IFormatProvider)

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Initializes a new instance of the DateTimeFormat class using the format string and format provider.

Namespace:  System.Runtime.Serialization
Assembly:  System.ServiceModel.Web (in System.ServiceModel.Web.dll)

public DateTimeFormat(
	string formatString,
	IFormatProvider formatProvider


Type: System.String
The format sting.
Type: System.IFormatProvider
The format provider.

Windows Phone OS

Supported in: 8.1, 8.0

© 2017 Microsoft