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 Common Language Infrastructure (CLI) 。
_Signature |
將一組名稱對應至一組對應的分派識別項 (Dispatch Identifier)。 |
_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 |