CustomAttributeNamedArgument<TType> 建構函式

定義

使用指定的名稱、種類、型別和值,將 CustomAttributeNamedArgument<TType> 結構的新執行個體初始化。

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)

參數

name
String

引數的名稱。

kind
CustomAttributeNamedArgumentKind

引數種類。

type
TType

引數型別。

value
Object

引數的值。

適用於