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: