Name

ICustomFormatter

Synopsis

This interface provides a custom formatter, which returns string information for supplied objects based on custom criteria. The ICustomFormatter interface contains a single Format() method. This method accepts a format string and an IFormatProvider object and uses this criteria to determine which string to return for the specified object.

Public Interface ICustomFormatter
                  ' Public Instance Methods
   Public Function Format(ByVal format As String, 
        ByVal arg As Object, 
        ByVal formatProvider As IFormatProvider) As String  
End Interface

Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.