Click or drag to resize

ExtensionsConvertionsToString Method (String, Object)

Replaces the format item in a specified string with the string representation of a corresponding object in a specified array. This also takes into account that source can be an inline text for the TextBlock. CurrentCulture is used as IFormatProvider

Namespace:  Cauldron
Assembly:  Cauldron (in Cauldron.dll) Version: 3.2.0.2
Syntax
public static string ToString(
	this string source,
	params Object[] args
)

Parameters

source
Type: SystemString
The formatted string
args
Type: SystemObject
An object array that contains zero or more objects to format.

Return Value

Type: String
A copy of format in which the format items have been replaced by the string representation of the corresponding objects in args.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also