SymMethod 类
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示符号存储区内的方法。
public ref class SymMethod : System::Diagnostics::SymbolStore::ISymbolMethod
public ref class SymMethod : System::Diagnostics::SymbolStore::SymMethodBase, IDisposable, System::Diagnostics::SymbolStore::ISymbolMethod
C#
public class SymMethod : System.Diagnostics.SymbolStore.ISymbolMethod
C#
[System.Runtime.InteropServices.ComVisible(true)]
public class SymMethod : System.Diagnostics.SymbolStore.ISymbolMethod
C#
[System.Runtime.InteropServices.ComVisible(true)]
public class SymMethod : System.Diagnostics.SymbolStore.SymMethodBase, IDisposable, System.Diagnostics.SymbolStore.ISymbolMethod
type SymMethod = class
interface ISymbolMethod
[<System.Runtime.InteropServices.ComVisible(true)>]
type SymMethod = class
interface ISymbolMethod
[<System.Runtime.InteropServices.ComVisible(true)>]
type SymMethod = class
inherit SymMethodBase
interface ISymbolMethod
interface IDisposable
Public Class SymMethod
Implements ISymbolMethod
Public Class SymMethod
Inherits SymMethodBase
Implements IDisposable, ISymbolMethod
- 继承
-
SymMethod
- 继承
- 属性
- 实现
类 SymMethod 仅提供对方法的符号相关属性(例如序列点、词法范围和参数信息)的访问。 System.Reflection使用类读取方法的类型相关属性。
Sym |
从原始指针到非托管接口初始化 SymMethod 类的新实例。 |
Sym |
从指向非托管的 ISymUnmanagedMethod 接口的原始指针初始化 SymMethod 类的新实例。 |
Root |
获取当前方法的根词法范围。 此范围包括整个方法。 |
Sequence |
获取方法中序列点的计数。 |
Token |
获取 SymbolToken,它包含当前方法的元数据。 |
产品 | 版本 |
---|---|
.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 |