Bagikan melalui


CustomAttributeNamedArgument<TType> Konstruktor

Definisi

Menginisialisasi instans CustomAttributeNamedArgument<TType> baru struktur menggunakan nama, jenis, jenis, dan nilai yang ditentukan.

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)

Parameter

name
String

Nama argumen.

kind
CustomAttributeNamedArgumentKind

Jenis argumen.

type
TType

Jenis argumen.

value
Object

Nilai argumen.

Berlaku untuk