CustomAttributeNamedArgument<TType> Struktura

Definicja

Reprezentuje nazwany argument zdekodowany z sygnatury atrybutu niestandardowego.

C#
public readonly struct CustomAttributeNamedArgument<TType>
C#
public struct CustomAttributeNamedArgument<TType>

Parametry typu

TType

Typ używany do reprezentowania typów wartości zdekodowanych z sygnatury atrybutu niestandardowego.

Dziedziczenie
CustomAttributeNamedArgument<TType>

Konstruktory

CustomAttributeNamedArgument<TType>(String, CustomAttributeNamedArgumentKind, TType, Object)

Inicjuje CustomAttributeNamedArgument<TType> nowe wystąpienie struktury przy użyciu określonej nazwy, rodzaju, typu i wartości.

Właściwości

Kind

Pobiera rodzaj argumentu.

Name

Pobiera nazwę argumentu.

Type

Pobiera typ argumentu.

Value

Pobiera wartość argumentu.

Dotyczy

Produkt Wersje
.NET Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0