ערוך

שתף באמצעות


InterpolatedStringHandlerArgumentAttribute Constructors

Definition

Overloads

InterpolatedStringHandlerArgumentAttribute(String)

Initializes a new instance of the InterpolatedStringHandlerArgumentAttribute class.

InterpolatedStringHandlerArgumentAttribute(String[])

Initializes a new instance of the InterpolatedStringHandlerArgumentAttribute class.

InterpolatedStringHandlerArgumentAttribute(String)

Source:
InterpolatedStringHandlerArgumentAttribute.cs
Source:
InterpolatedStringHandlerArgumentAttribute.cs
Source:
InterpolatedStringHandlerArgumentAttribute.cs

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[])

Source:
InterpolatedStringHandlerArgumentAttribute.cs
Source:
InterpolatedStringHandlerArgumentAttribute.cs
Source:
InterpolatedStringHandlerArgumentAttribute.cs

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.

Applies to