語言

CustomAttributeValue<TType> 建構函式

定義

使用指定的固定參數與命名參數初始化結構的新實例 CustomAttributeValue<TType> 。

public:
 CustomAttributeValue(System::Collections::Immutable::ImmutableArray<System::Reflection::Metadata::CustomAttributeTypedArgument<TType>> fixedArguments, System::Collections::Immutable::ImmutableArray<System::Reflection::Metadata::CustomAttributeNamedArgument<TType>> namedArguments);
public CustomAttributeValue(System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.CustomAttributeTypedArgument<TType>> fixedArguments, System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.CustomAttributeNamedArgument<TType>> namedArguments);
new System.Reflection.Metadata.CustomAttributeValue<'ype> : System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.CustomAttributeTypedArgument<'ype>> * System.Collections.Immutable.ImmutableArray<System.Reflection.Metadata.CustomAttributeNamedArgument<'ype>> -> System.Reflection.Metadata.CustomAttributeValue<'ype>
Public Sub New (fixedArguments As ImmutableArray(Of CustomAttributeTypedArgument(Of TType)), namedArguments As ImmutableArray(Of CustomAttributeNamedArgument(Of TType)))

參數

fixedArguments
ImmutableArray<CustomAttributeTypedArgument<TType>>

那些固定的論點。

namedArguments
ImmutableArray<CustomAttributeNamedArgument<TType>>

這些被命名的論點。

適用於