Share via


CustomAttributeNamedArgument<TType> Construtor

Definição

Inicializa uma nova instância da estrutura CustomAttributeNamedArgument<TType> usando o nome, tipo e valor especificados.

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.

kind
CustomAttributeNamedArgumentKind

A variante do argumento.

type
TType

O tipo do argumento.

value
Object

O valor do argumento.

Aplica-se a