Leer en inglés

Compartir a través de


Constant Estructura

Definición

C#
public struct Constant
C#
public readonly struct Constant
Herencia
Constant

Propiedades

Parent

Obtiene el manipulador principal (ParameterHandle, FieldDefinitionHandle o PropertyDefinitionHandle).

TypeCode

Obtiene un código de tipo que identifica el tipo del valor constante.

Value

Obtiene el valor constante.

Se aplica a

Producto Versiones
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)
UWP 10.0