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
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. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för