CustomAttributeTypedArgument Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Inicializa uma nova instância da CustomAttributeTypedArgument classe.
Sobrecargas
| Name | Description |
|---|---|
| CustomAttributeTypedArgument(Object) |
Inicializa uma nova instância da CustomAttributeTypedArgument classe com o valor especificado. |
| CustomAttributeTypedArgument(Type, Object) |
Inicializa uma nova instância da CustomAttributeTypedArgument classe com o tipo e valor especificados. |
CustomAttributeTypedArgument(Object)
Inicializa uma nova instância da CustomAttributeTypedArgument classe com o valor especificado.
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
O valor do argumento do atributo personalizado.
Exceções
value é null.
Observações
O value parâmetro não pode ser null para este construtor, porque o tipo de argumento é inferido a partir do tipo de value. Para especificar um null valor, use o CustomAttributeTypedArgument(Type, Object) construtor.
Este construtor é para uso por herdeiros da CustomAttributeTypedArgument classe. Não é destinado a ser utilizado em código de aplicação.
Aplica-se a
CustomAttributeTypedArgument(Type, Object)
Inicializa uma nova instância da CustomAttributeTypedArgument classe com o tipo e valor especificados.
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
O tipo do argumento do atributo personalizado.
- value
- Object
O valor do argumento do atributo personalizado.
Exceções
argumentType é null.
Observações
Este construtor é para uso por herdeiros da CustomAttributeTypedArgument classe. Não é destinado a ser utilizado em código de aplicação.