SignatureHelper 类
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
提供生成签名的方法。
public ref class SignatureHelper sealed
public ref class SignatureHelper sealed : System::Runtime::InteropServices::_SignatureHelper
C#
public sealed class SignatureHelper
C#
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
public sealed class SignatureHelper : System.Runtime.InteropServices._SignatureHelper
C#
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComVisible(true)]
public sealed class SignatureHelper : System.Runtime.InteropServices._SignatureHelper
type SignatureHelper = class
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
type SignatureHelper = class
interface _SignatureHelper
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type SignatureHelper = class
interface _SignatureHelper
Public NotInheritable Class SignatureHelper
Public NotInheritable Class SignatureHelper
Implements _SignatureHelper
- 继承
-
SignatureHelper
- 属性
- 实现
SignatureHelper使用 类创建可传递给 SetLocalSignature 类的 方法的DynamicILInfo签名 blob。 SignatureHelper还可以将 对象传递给ILGenerator.Emit(OpCode, SignatureHelper)方法重载,以将指令和签名令牌插入 Microsoft 中间语言 (MSIL) 流中。 有关签名 Blob 和签名元数据的信息,请参阅 ECMA 分区 II 元数据文档。
有关详细信息,请参阅 ECMA 335 公共语言基础结构 (CLI) 。
_Signature |
将一组名称映射为对应的一组调度标识符。 |
_Signature |
检索对象的类型信息,然后可以使用该信息获取接口的类型信息。 |
_Signature |
检索对象提供的类型信息接口的数量(0 或 1)。 |
_Signature |
提供对某一对象公开的属性和方法的访问。 |
产品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 2.0, 2.1 |