CustomAttributeNamedArgument<TType>(String, CustomAttributeNamedArgumentKind, TType, Object) Construtor
Definição
Inicializa uma nova instância da estrutura CustomAttributeNamedArgument<TType> usando o nome, tipo e valor especificados.Initializes a new instance of the CustomAttributeNamedArgument<TType> structure using the specified name, kind, type, and value.
public:
CustomAttributeNamedArgument(System::String ^ name, System::Reflection::Metadata::CustomAttributeNamedArgumentKind kind, TType type, System::Object ^ value);
public CustomAttributeNamedArgument (string? name, System.Reflection.Metadata.CustomAttributeNamedArgumentKind kind, TType type, object? value);
public CustomAttributeNamedArgument (string name, System.Reflection.Metadata.CustomAttributeNamedArgumentKind kind, TType type, object value);
new System.Reflection.Metadata.CustomAttributeNamedArgument<'ype> : string * System.Reflection.Metadata.CustomAttributeNamedArgumentKind * 'ype * obj -> System.Reflection.Metadata.CustomAttributeNamedArgument<'ype>
Public Sub New (name As String, kind As CustomAttributeNamedArgumentKind, type As TType, value As Object)
Parâmetros
- name
- String
O nome do argumento.The name of the argument.
A variante do argumento.The kind of the argument.
- type
- TType
O tipo do argumento.The type of the argument.
- value
- Object
O valor do argumento.The value of the argument.