ConstantTypeCode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies values that represent types of metadata constants.
public enum class ConstantTypeCode
public enum ConstantTypeCode
type ConstantTypeCode =
Public Enum ConstantTypeCode
- Inheritance
Fields
Boolean | 2 | A Boolean type. |
Byte | 5 | An unsigned 1-byte integer. |
Char | 3 | A character type. |
Double | 13 | An 8-byte floating point type. |
Int16 | 6 | A signed 2-byte integer type. |
Int32 | 8 | A signed 4-byte integer type. |
Int64 | 10 | A signed 8-byte integer type. |
Invalid | 0 | An invalid type. |
NullReference | 18 | A null reference. |
SByte | 4 | A signed 1-byte integer type. |
Single | 12 | A 4-byte floating point type. |
String | 14 | A String type. |
UInt16 | 7 | An unsigned 2-byte integer type. |
UInt32 | 9 | An unsigned 4-byte integer type. |
UInt64 | 11 | An unsigned 8-byte integer type. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應