Rediger

Del via


CustomAttributeNamedArgument<TType> Constructor

Definition

Initializes a new instance of the CustomAttributeNamedArgument<TType> structure using the specified name, kind, type, and value.

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)

Parameters

name
String

The name of the argument.

kind
CustomAttributeNamedArgumentKind

The kind of the argument.

type
TType

The type of the argument.

value
Object

The value of the argument.

Applies to