Edit

Share via


IdentifierSymbol 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

IdentifierSymbol(String)

Initializes a new instance of the IdentifierSymbol class.

IdentifierSymbol(String, String)

Initializes a new instance of the IdentifierSymbol class.

IdentifierSymbol(String)

Source:
IdentifierSymbol.cs

Initializes a new instance of the IdentifierSymbol class.

C#
protected IdentifierSymbol(string? description = default);

Parameters

description
String

The description of the symbol, which is displayed in command line help.

Applies to

.NET 10 (package-provided) and other versions
Product Versions
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)

IdentifierSymbol(String, String)

Source:
IdentifierSymbol.cs

Initializes a new instance of the IdentifierSymbol class.

C#
protected IdentifierSymbol(string name, string? description = default);

Parameters

name
String

The name of the symbol.

description
String

The description of the symbol, which is displayed in command line help.

Applies to

.NET 10 (package-provided) and other versions
Product Versions
.NET 6 (package-provided), 7 (package-provided), 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)