Version

Format Method (StringFormatUtil)

Create and format a string according to the value of the current string and the properties on the specified object
Syntax
'Declaration
 
Public Shared Function Format( _
   ByVal format As String, _
   ByVal obj As Object, _
   ByVal propertyValue As StringFormatter.ValueDelegate _
) As String
public static string Format( 
   string format,
   object obj,
   StringFormatter.ValueDelegate propertyValue
)

Parameters

format
Format string
obj
Object to format
propertyValue
Property value delegate

Return Value

formatted string or null on error.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also