FormattableString.GetArgument(Int32) Method

Definition

Returns the argument at the specified index position.

public:
 abstract System::Object ^ GetArgument(int index);
public abstract object GetArgument (int index);
public abstract object? GetArgument (int index);
abstract member GetArgument : int -> obj
Public MustOverride Function GetArgument (index As Integer) As Object

Parameters

index
Int32

The index of the argument. Its value can range from zero to one less than the value of ArgumentCount.

Returns

The argument.

Applies to