FormattableStringFactory::Create Method (String^, array<Object^>^)

.NET Framework (current version)
 

Creates a FormattableString instance from a composite format string and its arguments.

Namespace:   System.Runtime.CompilerServices
Assembly:  mscorlib (in mscorlib.dll)

public:
static FormattableString^ Create(
	String^ format,
	... array<Object^>^ arguments
)

Parameters

format
Type: System::String^

A composite format string.

arguments
Type: array<System::Object^>^

The arguments whose string representations are to be inserted in the result string.

Return Value

Type: System::FormattableString^

The object that represents the composite format string and its arguments.

Exception Condition
ArgumentNullException

format is null.

-or-

arguments is null.

Universal Windows Platform
Available since 10
.NET Framework
Available since 4.6
Return to top
Show: