InterpolatedStringHandlerArgumentAttribute Konstruktor
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
InterpolatedStringHandlerArgumentAttribute(String) |
Menginisialisasi instans baru kelas InterpolatedStringHandlerArgumentAttribute. |
InterpolatedStringHandlerArgumentAttribute(String[]) |
Menginisialisasi instans baru kelas InterpolatedStringHandlerArgumentAttribute. |
InterpolatedStringHandlerArgumentAttribute(String)
Menginisialisasi instans baru kelas InterpolatedStringHandlerArgumentAttribute.
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)
Parameter
- argument
- String
Nama argumen yang harus diteruskan ke handler.
Keterangan
String kosong dapat digunakan sebagai nama penerima dalam metode instans.
Berlaku untuk
InterpolatedStringHandlerArgumentAttribute(String[])
Menginisialisasi instans baru kelas InterpolatedStringHandlerArgumentAttribute.
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())
Parameter
- arguments
- String[]
Nama argumen yang harus diteruskan ke handler.
Keterangan
String kosong dapat digunakan sebagai nama penerima dalam metode instans.