PrimitiveSerializationTypeCode 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 constants that define the type codes used to encode types of primitive values in a CustomAttribute value blob.
public enum class PrimitiveSerializationTypeCode
public enum PrimitiveSerializationTypeCode
type PrimitiveSerializationTypeCode =
Public Enum PrimitiveSerializationTypeCode
- Inheritance
Fields
Boolean | 2 | A Boolean type. |
Byte | 5 | An unsigned 1-byte integer type. |
Char | 3 | A Char 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. |
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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈