SerializationTypeCode SerializationTypeCode SerializationTypeCode SerializationTypeCode Enum

定義

指定要在 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
繼承
SerializationTypeCodeSerializationTypeCodeSerializationTypeCodeSerializationTypeCode

欄位

Boolean Boolean Boolean Boolean 2

等於 Boolean 的值。A value equivalent to Boolean.

Byte Byte Byte Byte 5

等於 Byte 的值。A value equivalent to Byte.

Char Char Char Char 3

等於 Char 的值。A value equivalent to Char.

Double Double Double Double 13

等於 Double 的值。A value equivalent to Double.

Enum Enum Enum Enum 85

屬性引數是 Enum 執行個體。The attribute argument is an Enum instance.

Int16 Int16 Int16 Int16 6

等於 Int16 的值。A value equivalent to Int16.

Int32 Int32 Int32 Int32 8

等於 Int32 的值。A value equivalent to Int32.

Int64 Int64 Int64 Int64 10

等於 Int64 的值。A value equivalent to Int64.

Invalid Invalid Invalid Invalid 0

等於 Invalid 的值。A value equivalent to Invalid.

SByte SByte SByte SByte 4

等於 SByte 的值。A value equivalent to SByte.

Single Single Single Single 12

等於 Single 的值。A value equivalent to Single.

String String String String 14

等於 String 的值。A value equivalent to String.

SZArray SZArray SZArray SZArray 29

等於 SZArray 的值。A value equivalent to SZArray.

TaggedObject TaggedObject TaggedObject TaggedObject 81

屬性引數為 "boxed" (傳遞至參數、欄位,或是類型物件的屬性),且附帶屬性 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 Type Type Type 80

屬性引數是 Type 執行個體。The attribute argument is a Type instance.

UInt16 UInt16 UInt16 UInt16 7

等於 UInt16 的值。A value equivalent to UInt16.

UInt32 UInt32 UInt32 UInt32 9

等於 UInt32 的值。A value equivalent to UInt32.

UInt64 UInt64 UInt64 UInt64 11

等於 UInt64 的值。A value equivalent to UInt64.

適用於