DateTimeFormatInfoStatic: GetInstance

GetInstance

Returns the DateTimeFormatInfo object associated with the supplied IFormatProvider.



 Public Function GetInstance(
	  ByVal FormatProvider As IFormatProvider ) As DateTimeFormatInfo

Parameters

FormatProvider
[ByVal] IFormatProvider. The provider of the DateTimeFormatInfo object.

Return Values

DateTimeFormatInfo -  The DateTimeFormatInfo object from the provider.

Remarks

If the provider does not have a DateTimeFormatInfo object, then Nothing is returned.

See Also

Project CorLib Overview

Class DateTimeFormatInfoStatic Overview