Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft