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 VBCorLib Overview Class DateTimeFormatInfoStatic Overview DateTimeFormatInfoStatic Properties DateTimeFormatInfoStatic Methods CurrentInfo (get) InvariantInfo (get)