CADability dotNET
Returns a formatted string. The string with the ID "Name" from the string resource is formatted by substituting the {0}, {1} ... substring with the string values of the args objects. If there is a formatting error, the unformatted string will be returned.

Namespace: CADability.UserInterface
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public static string GetFormattedString(
	string Name,
	params Object[] args
)
Visual Basic
Public Shared Function GetFormattedString ( _
	Name As String, _
	ParamArray args As Object() _
) As String
Visual C++
public:
static String^ GetFormattedString(
	String^ Name, 
	... array<Object^>^ args
)

Parameters

Name
Type: System..::..String
Name or ID of the string
args
Type: array<System..::..Object>[]()[][]
Variable number of arguments for formatting

Return Value

The formatted string

See Also