CustomAttributeTypedArgument Constructores
Definición
Inicializa una nueva instancia de la clase CustomAttributeTypedArgument.Initializes a new instance of the CustomAttributeTypedArgument class.
Sobrecargas
CustomAttributeTypedArgument(Object) |
Inicializa una nueva instancia de la clase CustomAttributeTypedArgument con el valor especificado.Initializes a new instance of the CustomAttributeTypedArgument class with the specified value. |
CustomAttributeTypedArgument(Type, Object) |
Inicializa una nueva instancia de la clase CustomAttributeTypedArgument con el tipo y el valor especificados.Initializes a new instance of the CustomAttributeTypedArgument class with the specified type and value. |
CustomAttributeTypedArgument(Object)
Inicializa una nueva instancia de la clase CustomAttributeTypedArgument con el valor especificado.Initializes a new instance of the CustomAttributeTypedArgument class with the specified value.
public:
CustomAttributeTypedArgument(System::Object ^ value);
public CustomAttributeTypedArgument (object value);
new System.Reflection.CustomAttributeTypedArgument : obj -> System.Reflection.CustomAttributeTypedArgument
Public Sub New (value As Object)
Parámetros
- value
- Object
Valor del argumento del atributo personalizado.The value of the custom attribute argument.
Excepciones
value
es null
.value
is null
.
Comentarios
El value
parámetro no puede ser null
para este constructor, porque el tipo de argumento se deduce del tipo de value
.The value
parameter cannot be null
for this constructor, because the argument type is inferred from the type of value
. Para especificar un null
valor, use el CustomAttributeTypedArgument(Type, Object) constructor.To specify a null
value, use the CustomAttributeTypedArgument(Type, Object) constructor.
Este constructor es para su uso por los herederos de la CustomAttributeTypedArgument clase.This constructor is for use by inheritors of the CustomAttributeTypedArgument class. No está diseñado para su uso en el código de la aplicación.It is not intended for use in application code.
Se aplica a
CustomAttributeTypedArgument(Type, Object)
Inicializa una nueva instancia de la clase CustomAttributeTypedArgument con el tipo y el valor especificados.Initializes a new instance of the CustomAttributeTypedArgument class with the specified type and value.
public:
CustomAttributeTypedArgument(Type ^ argumentType, System::Object ^ value);
public CustomAttributeTypedArgument (Type argumentType, object value);
public CustomAttributeTypedArgument (Type argumentType, object? value);
new System.Reflection.CustomAttributeTypedArgument : Type * obj -> System.Reflection.CustomAttributeTypedArgument
Public Sub New (argumentType As Type, value As Object)
Parámetros
- argumentType
- Type
Tipo del argumento del atributo personalizado.The type of the custom attribute argument.
- value
- Object
Valor del argumento del atributo personalizado.The value of the custom attribute argument.
Excepciones
argumentType
es null
.argumentType
is null
.
Comentarios
Este constructor es para su uso por los herederos de la CustomAttributeTypedArgument clase.This constructor is for use by inheritors of the CustomAttributeTypedArgument class. No está diseñado para su uso en el código de la aplicación.It is not intended for use in application code.