CustomAttributeNamedArgument<TType> Konstruktor

Definice

Inicializuje novou instanci CustomAttributeNamedArgument<TType> struktury pomocí zadaného názvu, typu, typu a hodnoty.

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

Název argumentu.

kind
CustomAttributeNamedArgumentKind

Druh argumentu.

type
TType

Typ argumentu.

value
Object

Hodnota argumentu.

Platí pro