SignatureTypeEncoder 结构
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
对签名中的类型进行编码。
public value class SignatureTypeEncoder
public readonly struct SignatureTypeEncoder
public struct SignatureTypeEncoder
type SignatureTypeEncoder = struct
Public Structure SignatureTypeEncoder
- 继承
构造函数
| 名称 | 说明 |
|---|---|
| SignatureTypeEncoder(BlobBuilder) |
属性
| 名称 | 说明 |
|---|---|
| Builder |
BlobBuilder签名的写入位置。 |
方法
| 名称 | 说明 |
|---|---|
| Array(Action<SignatureTypeEncoder>, Action<ArrayShapeEncoder>) |
对数组类型进行编码。 |
| Array(SignatureTypeEncoder, ArrayShapeEncoder) |
对数组类型进行编码。 返回一对编码器,这些编码器必须按照它们在参数列表中显示的顺序使用。 |
| Boolean() |
编码 Boolean。 |
| Byte() |
编码 Byte。 |
| Char() |
编码 Char。 |
| CustomModifiers() |
使用自定义修饰符启动类型的签名。 |
| Double() |
编码 Double。 |
| FunctionPointer(SignatureCallingConvention, FunctionPointerAttributes, Int32) |
启动函数指针签名。 |
| GenericInstantiation(EntityHandle, Int32, Boolean) |
启动通用实例化签名。 |
| GenericMethodTypeParameter(Int32) |
对包含泛型方法的类型参数的引用进行编码。 |
| GenericTypeParameter(Int32) |
对包含泛型类型的类型参数的引用进行编码。 |
| Int16() |
编码 Int16。 |
| Int32() |
编码 Int32。 |
| Int64() |
编码 Int64。 |
| IntPtr() |
编码 IntPtr。 |
| Object() |
编码 Object。 |
| Pointer() |
启动指针签名。 |
| PrimitiveType(PrimitiveTypeCode) |
编写基元类型代码。 |
| SByte() |
编码 SByte。 |
| Single() |
编码 Single。 |
| String() |
编码 String。 |
| SZArray() |
启动 SZ 数组(向量)签名。 |
| Type(EntityHandle, Boolean) |
对类型的引用进行编码。 |
| TypedReference() |
编码 TypedReference。 |
| UInt16() |
编码 UInt16。 |
| UInt32() |
编码 UInt32。 |
| UInt64() |
编码 UInt64。 |
| UIntPtr() |
编码 UIntPtr。 |
| VoidPointer() |
编码 void 指针 ( |