CustomAttributeValue<TType> 結構

定義

表示 TType 所指定類型的自訂屬性。

generic <typename TType>
public value class CustomAttributeValue
public readonly struct CustomAttributeValue<TType>
public struct CustomAttributeValue<TType>
type CustomAttributeValue<'ype> = struct
Public Structure CustomAttributeValue(Of TType)

類型參數

TType

屬性類型。

繼承
CustomAttributeValue<TType>

建構函式

CustomAttributeValue<TType>(ImmutableArray<CustomAttributeTypedArgument<TType>>, ImmutableArray<CustomAttributeNamedArgument<TType>>)

使用指定的固定引數與具名引數,將 CustomAttributeValue<TType> 結構的新執行個體初始化。

屬性

FixedArguments

取得自訂屬性的固定引數。

NamedArguments

取得自訂屬性值的具名引數。

適用於