SignatureTypeCode SignatureTypeCode SignatureTypeCode SignatureTypeCode Enum

定義

指定在簽章編碼中用於定義類型代碼的常數。Specifies constants that define type codes used in signature encoding.

public enum class SignatureTypeCode
public enum SignatureTypeCode
type SignatureTypeCode = 
Public Enum SignatureTypeCode
繼承
SignatureTypeCodeSignatureTypeCodeSignatureTypeCodeSignatureTypeCode

欄位

Array Array Array Array 20

表示簽章中的通用 ArrayRepresents a generalized Array in signatures.

Boolean Boolean Boolean Boolean 2

表示簽章中的 BooleanRepresents a Boolean in signatures.

ByReference ByReference ByReference ByReference 16

表示簽章中的 Managed 指標 (byref 傳回值與參數)。Represents managed pointers (byref return values and parameters) in signatures. 基礎類型的簽章編碼會在 Blob 中跟隨它。It is followed in the blob by the signature encoding of the underlying type.

Byte Byte Byte Byte 5

表示簽章中的 ByteRepresents a Byte in signatures.

Char Char Char Char 3

表示簽章中的 CharRepresents a Char in signatures.

Double Double Double Double 13

表示簽章中的 DoubleRepresents a Double in signatures.

FunctionPointer FunctionPointer FunctionPointer FunctionPointer 27

表示簽章中的函式指標類型。Represents function pointer types in signatures.

GenericMethodParameter GenericMethodParameter GenericMethodParameter GenericMethodParameter 30

表示在簽章中使用的泛型方法參數。Represents a generic method parameter used within a signature.

GenericTypeInstance GenericTypeInstance GenericTypeInstance GenericTypeInstance 21

表示簽章中泛型型別的具現化。Represents the instantiation of a generic type in signatures.

GenericTypeParameter GenericTypeParameter GenericTypeParameter GenericTypeParameter 19

表示在簽章中使用的泛型型別參數。Represents a generic type parameter used within a signature.

Int16 Int16 Int16 Int16 6

表示簽章中的 Int16Represents an Int16 in signatures.

Int32 Int32 Int32 Int32 8

表示簽章中的 Int32Represents an Int32 in signatures.

Int64 Int64 Int64 Int64 10

表示簽章中的 Int64Represents an Int64 in signatures.

IntPtr IntPtr IntPtr IntPtr 24

表示簽章中的 IntPtrRepresents an IntPtr in signatures.

Invalid Invalid Invalid Invalid 0

表示無效或未初始化的類型代碼。Represents an invalid or uninitialized type code. 不會在有效簽章中出現。It will not appear in valid signatures.

Object Object Object Object 28

表示簽章中的 ObjectRepresents an Object in signatures.

OptionalModifier OptionalModifier OptionalModifier OptionalModifier 32

表示呼叫者可略過的簽章中,套用到類型的 Custom 修飾詞。Represents a custom modifier applied to a type within a signature that the caller can ignore.

Pinned Pinned Pinned Pinned 69

表示記憶體回收行程固定的區域變數。Represents a local variable that is pinned by garbage collector.

Pointer Pointer Pointer Pointer 15

表示簽章中的 Unmanaged 指標。Represents an unmanaged pointer in signatures. 基礎類型的簽章編碼會在 Blob 中跟隨它。It is followed in the blob by the signature encoding of the underlying type.

RequiredModifier RequiredModifier RequiredModifier RequiredModifier 31

表示呼叫者必須理解的簽章中,套用到類型的 Custom 修飾詞。Represents a custom modifier applied to a type within a signature that the caller must understand.

SByte SByte SByte SByte 4

表示簽章中的 SByteRepresents an SByte in signatures.

Sentinel Sentinel Sentinel Sentinel 65

表示標記,以指出固定引數的結尾與變數引數的開頭。Represents a marker to indicate the end of fixed arguments and the beginning of variable arguments.

Single Single Single Single 12

表示簽章中的 SingleRepresents a Single in signatures.

String String String String 14

表示簽章中的 StringRepresents a String in signatures.

SZArray SZArray SZArray SZArray 29

表示下限為 0 的 一維 ArrayRepresents a single dimensional Array with a lower bound of 0.

TypedReference TypedReference TypedReference TypedReference 22

表示簽章中的具型別參考。Represents a typed reference in signatures.

TypeHandle TypeHandle TypeHandle TypeHandle 64

優先簽章中的類型 EntityHandlePrecedes a type EntityHandle in signatures. 在原始中繼資料中,這會編碼為 ELEMENT_TYPE_CLASS (0x12) (若為參考型別) 或 ELEMENT_TYPE_VALUETYPE (0x11) (若為實值型別)。In raw metadata, this is encoded as either ELEMENT_TYPE_CLASS (0x12) for reference types or ELEMENT_TYPE_VALUETYPE (0x11) for value types. 因為 Windows 執行階段投影可在類別與實值型別之間交換投影,所以這會摺疊成單一程式碼,而原始程式碼在這些情況下會產生誤導。This is collapsed to a single code because Windows Runtime projections can project from class to value type or vice-versa, and the raw code is misleading in those cases.

UInt16 UInt16 UInt16 UInt16 7

表示簽章中的 UInt16Represents a UInt16 in signatures.

UInt32 UInt32 UInt32 UInt32 9

表示簽章中的 UInt32Represents a UInt32 in signatures.

UInt64 UInt64 UInt64 UInt64 11

表示簽章中的 UInt64Represents a UInt64 in signatures.

UIntPtr UIntPtr UIntPtr UIntPtr 25

表示簽章中的 UIntPtrRepresents a UIntPtr in signatures.

Void Void Void Void 1

表示簽章中的 VoidRepresents Void in signatures.

適用於