CustomAttributeNamedArgument<TType> Constructeur

Définition

Initialise une nouvelle instance de la structure CustomAttributeNamedArgument<TType> à l’aide du nom, du genre, du type et de la valeur spécifiés.

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)

Paramètres

name
String

Nom de l’argument.

kind
CustomAttributeNamedArgumentKind

Type de l’argument.

type
TType

Type de l’argument.

value
Object

Valeur de l’argument.

S’applique à