CustomAttributeNamedArgument<TType> Konstruktor

Definicja

Inicjuje CustomAttributeNamedArgument<TType> nowe wystąpienie struktury przy użyciu określonej nazwy, rodzaju, typu i wartości.

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)

Parametry

name
String

Nazwa argumentu.

kind
CustomAttributeNamedArgumentKind

Rodzaj argumentu.

type
TType

Typ argumentu.

value
Object

Wartość argumentu.

Dotyczy