SerializationTypeCode 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 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
- Inheritance
Fields
Boolean | 2 | A value equivalent to Boolean. |
Byte | 5 | A value equivalent to Byte. |
Char | 3 | A value equivalent to Char. |
Double | 13 | A value equivalent to Double. |
Enum | 85 | The attribute argument is an Enum instance. |
Int16 | 6 | A value equivalent to Int16. |
Int32 | 8 | A value equivalent to Int32. |
Int64 | 10 | A value equivalent to Int64. |
Invalid | 0 | A value equivalent to Invalid. |
SByte | 4 | A value equivalent to SByte. |
Single | 12 | A value equivalent to Single. |
String | 14 | A value equivalent to String. |
SZArray | 29 | A value equivalent to SZArray. |
TaggedObject | 81 | 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 | The attribute argument is a Type instance. |
UInt16 | 7 | A value equivalent to UInt16. |
UInt32 | 9 | A value equivalent to UInt32. |
UInt64 | 11 | A value equivalent to UInt64. |
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈