InterpolatedStringHandlerArgumentAttribute Constructors
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.
Overloads
InterpolatedStringHandlerArgumentAttribute(String) |
Initializes a new instance of the InterpolatedStringHandlerArgumentAttribute class. |
InterpolatedStringHandlerArgumentAttribute(String[]) |
Initializes a new instance of the InterpolatedStringHandlerArgumentAttribute class. |
InterpolatedStringHandlerArgumentAttribute(String)
Initializes a new instance of the InterpolatedStringHandlerArgumentAttribute class.
public:
InterpolatedStringHandlerArgumentAttribute(System::String ^ argument);
public InterpolatedStringHandlerArgumentAttribute (string argument);
new System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute : string -> System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute
Public Sub New (argument As String)
Parameters
- argument
- String
The name of the argument that should be passed to the handler.
Remarks
The empty string may be used as the name of the receiver in an instance method.
Applies to
InterpolatedStringHandlerArgumentAttribute(String[])
Initializes a new instance of the InterpolatedStringHandlerArgumentAttribute class.
public:
InterpolatedStringHandlerArgumentAttribute(... cli::array <System::String ^> ^ arguments);
public InterpolatedStringHandlerArgumentAttribute (params string[] arguments);
new System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute : string[] -> System.Runtime.CompilerServices.InterpolatedStringHandlerArgumentAttribute
Public Sub New (ParamArray arguments As String())
Parameters
- arguments
- String[]
The names of the arguments that should be passed to the handler.
Remarks
The empty string may be used as the name of the receiver in an instance method.