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.

FormattableString::ArgumentCount Property

.NET Framework (current version)
 

Gets the number of arguments to be formatted.

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

public:
property int ArgumentCount {
	virtual int get() abstract;
}

Property Value

Type: System::Int32

The number of arguments to be formatted.

The arguments can be retrieved from the object array returned by the GetArguments method, or they can be retrieved individually by index number from the GetArgument method. The indexes of individual arguments range from zero to ArgumentCount – 1.

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