CustomAttributeNamedArgument<TType> 结构

定义

表示从自定义属性签名中解码的命名参数。Represents a named argument decoded from a custom attribute signature.

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

类型参数

TType

用于表示从自定义特性签名解码的值类型的类型。The type used to represent types of values decoded from the custom attribute signature.

继承
CustomAttributeNamedArgument<TType>

构造函数

CustomAttributeNamedArgument<TType>(String, CustomAttributeNamedArgumentKind, TType, Object)

使用指定的名称、种类、类型和值初始化 CustomAttributeNamedArgument<TType> 结构的新实例。Initializes a new instance of the CustomAttributeNamedArgument<TType> structure using the specified name, kind, type, and value.

属性

Kind

获取参数的种类。Gets the kind of argument.

Name

获取参数的名称。Gets the name of the argument.

Type

获取参数的类型。Gets the type of the argument.

Value

获取参数的值。Gets the value of the argument.

适用于