SerializationTypeCode 枚举

定义

指定类型代码,用于对 CustomAttributeValue<TType> Blob 中的值类型进行编码。Specifies type codes used to encode the types of values in a CustomAttributeValue<TType> blob.

public enum class SerializationTypeCode
public enum SerializationTypeCode
type SerializationTypeCode = 
Public Enum SerializationTypeCode
继承
SerializationTypeCode

字段

Boolean 2

等效于 Boolean 的值。A value equivalent to Boolean.

Byte 5

等效于 Byte 的值。A value equivalent to Byte.

Char 3

等效于 Char 的值。A value equivalent to Char.

Double 13

等效于 Double 的值。A value equivalent to Double.

Enum 85

特性参数是一个 Enum 实例。The attribute argument is an Enum instance.

Int16 6

等效于 Int16 的值。A value equivalent to Int16.

Int32 8

等效于 Int32 的值。A value equivalent to Int32.

Int64 10

等效于 Int64 的值。A value equivalent to Int64.

Invalid 0

等效于 Invalid 的值。A value equivalent to Invalid.

SByte 4

等效于 SByte 的值。A value equivalent to SByte.

Single 12

等效于 Single 的值。A value equivalent to Single.

String 14

等效于 String 的值。A value equivalent to String.

SZArray 29

等效于 SZArray 的值。A value equivalent to SZArray.

TaggedObject 81

特性参数进行了“装箱”(传递到参数、字段或类型对象的属性)并传送特性 Blob 中的类型信息。The attribute argument is "boxed" (passed to a parameter, field, or property of type object) and carries type information in the attribute blob.

Type 80

特性参数是一个 Type 实例。The attribute argument is a Type instance.

UInt16 7

等效于 UInt16 的值。A value equivalent to UInt16.

UInt32 9

等效于 UInt32 的值。A value equivalent to UInt32.

UInt64 11

等效于 UInt64 的值。A value equivalent to UInt64.

适用于