SymReader 類別

定義

提供對符號存放區內之文件、方法和變數的存取。Provides access to documents, methods, and variables within a symbol store.

public ref class SymReader : System::Diagnostics::SymbolStore::SymReaderBase, IDisposable, System::Diagnostics::SymbolStore::ISymbolReader
[System.Runtime.InteropServices.ComVisible(true)]
public class SymReader : System.Diagnostics.SymbolStore.SymReaderBase, IDisposable, System.Diagnostics.SymbolStore.ISymbolReader
type SymReader = class
    inherit SymReaderBase
    interface ISymbolReader
    interface IDisposable
Public Class SymReader
Inherits SymReaderBase
Implements IDisposable, ISymbolReader
繼承
SymReader
屬性
實作

建構函式

SymReader(ISymUnmanagedReader*)

使用非受控 ISymUnmanagedReader 物件的指定指標,初始化 SymReader 類別的新執行個體。Initializes a new instance of the SymReader class by using the specified pointer to an unmanaged ISymUnmanagedReader object.

SymReader(ISymUnmanagedReader*)

使用非受控 ISymUnmanagedReader 物件的指定指標,初始化 SymReader 類別的新執行個體。Initializes a new instance of the SymReader class by using the specified pointer to an unmanaged ISymUnmanagedReader object.

屬性

UserEntryPoint

取得方法的中繼資料語彙基元 (Metadata Token),如果有的話,這個語彙基元會被指定為模組的使用者進入點 (Entry Point)。Gets the metadata token for the method that was specified as the user entry point for the module, if any.

方法

__dtor()

將目前執行個體所持有的資源釋出。Releases the resources held by the current instance. 此方法僅供內部使用。This method is for internal use only.

{dtor}()

將目前執行個體所持有的資源釋出。Releases the resources held by the current instance.

Dispose()

SymReader 類別的目前執行個體所使用的資源釋出。Releases the resources used by the current instance of the SymReader class.

Dispose(Boolean)

Dispose()Finalize() 方法呼叫,以釋出 SymReader 類別之目前執行個體所使用的 Managed 和 Unmanaged 資源。Called by the Dispose() and Finalize() methods to release the managed and unmanaged resources used by the current instance of the SymReader class.

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
Finalize()

釋出 Unmanaged 資源並執行其他清除作業後,記憶體回收才能重新回收 SymReaderReleases unmanaged resources and performs other cleanup operations before the SymReader is reclaimed by garbage collection.

GetDocument(String, Guid, Guid, Guid)

取得以文件之 URL 以及選擇性的語言、語言廠商和類型所指定的文件。Gets a document specified by the URL for the document and optionally the language, language vendor, and type.

GetDocuments()

取得定義在符號存放區中所有文件的陣列。Gets an array of all documents defined in the symbol store.

GetGlobalVariables()

在所有情況下都擲回 NotSupportedExceptionThrows a NotSupportedException in all cases.

GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetMethod(SymbolToken)

取得當指定方法識別項時的符號讀取器方法物件。Gets a symbol reader method object when given the identifier of a method.

GetMethod(SymbolToken, Int32)

取得當指定方法的識別項和其編輯後繼續版本時的符號讀取器方法物件。Gets a symbol reader method object when given the identifier of a method and its edit and continue version.

GetMethodFromDocumentPosition(ISymbolDocument, Int32, Int32)

取得符號讀取器方法物件,包含文件中指定的位置。Gets a symbol reader method object that contains a specified position in a document.

GetNamespaces()

在所有情況下都擲回 NotSupportedExceptionThrows a NotSupportedException in all cases.

GetSymAttribute(SymbolToken, String)

在所有情況下都擲回 NotSupportedExceptionThrows a NotSupportedException in all cases.

GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
GetVariables(SymbolToken)

在所有情況下都擲回 NotSupportedExceptionThrows a NotSupportedException in all cases.

MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(繼承來源 Object)
ReplaceSymbolStore(String, IntPtr)

以差異符號存放區來取代現有的符號存放區。Replaces the existing symbol store with a delta symbol store.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)
UpdateSymbolStore(String, IntPtr)

以差異符號存放區來更新現有的符號存放區。Updates the existing symbol store with a delta symbol store.

適用於