CustomAttributeValue<TType> 结构
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 TType
指定的类型的自定义属性。
generic <typename TType>
public value class CustomAttributeValue
C#
public readonly struct CustomAttributeValue<TType>
C#
public struct CustomAttributeValue<TType>
type CustomAttributeValue<'ype> = struct
Public Structure CustomAttributeValue(Of TType)
- TType
属性类型。
- 继承
Custom |
使用指定的固定参数和命名参数初始化 CustomAttributeValue<TType> 结构的新实例。 |
Fixed |
获取自定义属性的固定参数。 |
Named |
获取自定义属性值的命名参数。 |
产品 | 版本 |
---|---|
.NET | Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0 |