'Declaration<ExtensionAttribute()> <JetBrains.Annotations.NotNullAttribute()> Public Overloads Shared Function ToString( _ ByVal formattable As IFormattable, _ ByVal format As String _ ) As String
'UsageDim formattable As IFormattable Dim format As String Dim value As String value = IFormattableExtension.ToString(formattable, format)
[Extension()] [JetBrains.Annotations.NotNull()] public static string ToString( IFormattable formattable, string format )
[Extension()] [JetBrains.Annotations.NotNull()] public: static String^ ToString( IFormattable^ formattable, String^ format )
Parameters
- formattable
- Provides functionality to format the value of an object into a string representation.
The value of this parameter cannot be
null(Nothingin Visual Basic). - format
- A standard or custom format string (see Remarks).
The value of this parameter can be
null(Nothingin Visual Basic).
Return Value
This method never returns null (Nothing in Visual Basic).