'Declaration Public Shared Function GetFormatSpecifierFromMask( _ ByVal mask As String, _ ByVal formatProvider As IFormatProvider _ ) As String
'Usage Dim mask As String Dim formatProvider As IFormatProvider Dim value As String value = MaskedTextBox.GetFormatSpecifierFromMask(mask, formatProvider)
public static string GetFormatSpecifierFromMask( string mask, IFormatProvider formatProvider )
Parameters
- mask
- The mask from which the format specifier is to be extracted.
- formatProvider
- An IFormatProvider that will be used to extract the appropriate symbols for any numeric mask characters contained in the mask.