StringSyntaxAttribute Constructors

Definition

Overloads

StringSyntaxAttribute(String)

Initializes the StringSyntaxAttribute with the identifier of the syntax used.

StringSyntaxAttribute(String, Object[])

Initializes the StringSyntaxAttribute with the identifier of the syntax used.

StringSyntaxAttribute(String)

Source:
StringSyntaxAttribute.cs
Source:
StringSyntaxAttribute.cs
Source:
StringSyntaxAttribute.cs

Initializes the StringSyntaxAttribute with the identifier of the syntax used.

C#
public StringSyntaxAttribute(string syntax);

Parameters

syntax
String

The syntax identifier.

Applies to

.NET 10 ja muud versioonid
Toode Versioonid
.NET 7, 8, 9, 10

StringSyntaxAttribute(String, Object[])

Source:
StringSyntaxAttribute.cs
Source:
StringSyntaxAttribute.cs
Source:
StringSyntaxAttribute.cs

Initializes the StringSyntaxAttribute with the identifier of the syntax used.

C#
public StringSyntaxAttribute(string syntax, params object?[] arguments);

Parameters

syntax
String

The syntax identifier.

arguments
Object[]

Optional arguments associated with the specific syntax employed.

Applies to

.NET 10 ja muud versioonid
Toode Versioonid
.NET 7, 8, 9, 10