IInterpolatedStringHandlerArgumentPlaceholderOperation.ArgumentIndex Property

Definition

The index of the argument of the method call, indexer, or object creation containing the interpolated string handler conversion this placeholder is referencing. -1 if PlaceholderKind is anything other than CallsiteArgument.

C#
public int ArgumentIndex { get; }

Property Value

Applies to

Продукт Версії
Roslyn 4.2.0, 4.3.0, 4.4.0, 4.5.0, 4.6.0, 4.7.0, 4.8.0, 4.9.2, 4.1.0, 4.12.2, 4.13.0