SymDocument 類別

定義

代表符號存放區所參考的文件。

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

備註

檔是由 URL 和檔案類型 GUID 所定義。 您可以使用檔案類型 GUID 和 URL 來找到檔。 您可以選擇性地將文檔來源儲存在符號存放區中。

如果存在,此介面也會提供該來源的存取權。

建構函式

SymDocument(ISymUnmanagedDocument*)

使用非受控 ISymUnmanagedDocument 物件的指定指標,初始化 SymDocument 類別的新執行個體。

SymDocument(ISymUnmanagedDocument*)

使用非受控 ISymUnmanagedDocument 物件的指定指標,來初始化 SymDocument 類別的新執行個體。

屬性

CheckSumAlgorithmId

在所有情況下都擲回 NotSupportedException

DocumentType

取得目前文件的類型。

HasEmbeddedSource

表示目前文件的來源是否存放在符號存放區中。

Language

取得目前文件的語言。

LanguageVendor

取得目前文件的語言廠商。

SourceLength

取得內嵌來源的長度 (以位元組為單位)。

URL

取得目前文件的 URL。

方法

__dtor()

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

將目前執行個體所持有的資源釋出。

{dtor}()

此 API 支援此產品基礎結構,但無法直接用於程式碼之中。

將目前執行個體所持有的資源釋出。

{dtor}()

將目前執行個體所持有的資源釋出。

(繼承來源 SymDocumentBase)
Dispose()

SymDocument 類別的目前執行個體所使用的資源釋出。

Dispose(Boolean)

Dispose()Finalize() 方法呼叫,以釋出 SymDocument 類別之目前執行個體所使用的 Managed 和 Unmanaged 資源。

Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
Finalize()

釋出 Unmanaged 資源並執行其他清除作業後,記憶體回收才能重新回收 SymReader

FindClosestLine(Int32)

在目前文件中不一定是序列點的行之情況下,傳回是序列點之最接近行的行號。

GetCheckSum()

在所有情況下都擲回 NotSupportedException

GetHashCode()

做為預設雜湊函式。

(繼承來源 Object)
GetSourceRange(Int32, Int32, Int32, Int32)

在所有情況下都擲回 NotSupportedException

GetType()

取得目前執行個體的 Type

(繼承來源 Object)
GetUnmanaged()

取得這個 SymDocument 執行個體的非受控 ISymUnmanagedDocument 介面指標。

MemberwiseClone()

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()

傳回代表目前物件的字串。

(繼承來源 Object)

適用於