InterpolatedStringArgumentPlaceholderKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Kind of placeholder for an IInterpolatedStringHandlerArgumentPlaceholderOperation.
public enum InterpolatedStringArgumentPlaceholderKind
type InterpolatedStringArgumentPlaceholderKind =
Public Enum InterpolatedStringArgumentPlaceholderKind
- Inheritance
-
InterpolatedStringArgumentPlaceholderKind
Fields
Name | Value | Description |
---|---|---|
CallsiteArgument | 0 | This is a placeholder for an argument from the containing method call, indexer access, or object creation. The corresponding argument index is accessed in ArgumentIndex. |
CallsiteReceiver | 1 | This is a placeholder for the receiver of the containing method call, indexer access, or object creation. |
TrailingValidityArgument | 2 | This is a placeholder for the trailing bool out parameter of the interpolated string handler type. This bool controls whether the conditional evaluation for the rest of the interpolated string should be run after the constructor returns. |