SymDocument SymDocument SymDocument SymDocument Class

Definition

Represents a document referenced by a symbol store.

public ref class SymDocument : System::Diagnostics::SymbolStore::SymDocumentBase, IDisposable, System::Diagnostics::SymbolStore::ISymbolDocument
[System.Runtime.InteropServices.ComVisible(true)]
public class SymDocument : System.Diagnostics.SymbolStore.SymDocumentBase, IDisposable, System.Diagnostics.SymbolStore.ISymbolDocument
type SymDocument = class
    inherit SymDocumentBase
    interface ISymbolDocument
    interface IDisposable
Public Class SymDocument
Inherits SymDocumentBase
Implements IDisposable, ISymbolDocument
Inheritance
SymDocumentSymDocumentSymDocumentSymDocument
Attributes
Implements

Remarks

A document is defined by a URL and a document type GUID. Using the document type GUID and the URL, you can locate the document. You can optionally store document source in the symbol store.

This interface also provides access to that source, if present.

Constructors

SymDocument(ISymUnmanagedDocument*) SymDocument(ISymUnmanagedDocument*) SymDocument(ISymUnmanagedDocument*) SymDocument(ISymUnmanagedDocument*)

Initializes a new instance of the SymDocument class using the specified pointer to an unmanaged ISymUnmanagedDocument object.

SymDocument(ISymUnmanagedDocument*) SymDocument(ISymUnmanagedDocument*) SymDocument(ISymUnmanagedDocument*) SymDocument(ISymUnmanagedDocument*)

Initializes a new instance of the SymDocument class using the specified pointer to an unmanaged ISymUnmanagedDocument object.

Properties

CheckSumAlgorithmId CheckSumAlgorithmId CheckSumAlgorithmId CheckSumAlgorithmId

Throws a NotSupportedException in all cases.

DocumentType DocumentType DocumentType DocumentType

Gets the type of the current document.

HasEmbeddedSource HasEmbeddedSource HasEmbeddedSource HasEmbeddedSource

Indicates whether the source for the current document is stored in the symbol store.

Language Language Language Language

Gets the language of the current document.

LanguageVendor LanguageVendor LanguageVendor LanguageVendor

Gets the language vendor of the current document.

SourceLength SourceLength SourceLength SourceLength

Gets the length, in bytes, of the embedded source.

URL URL URL URL

Gets the URL of the current document.

Methods

Dispose() Dispose() Dispose() Dispose()

Releases the resources used by the current instance of the SymDocument class.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Called by the Dispose() and Finalize() methods to release the managed and unmanaged resources used by the current instance of the SymDocument class.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

Releases unmanaged resources and performs other cleanup operations before the SymReader is reclaimed by garbage collection.

FindClosestLine(Int32) FindClosestLine(Int32) FindClosestLine(Int32) FindClosestLine(Int32)

Returns the line number of the closest line that is a sequence point, given a line in the current document that might or might not be a sequence point.

GetCheckSum() GetCheckSum() GetCheckSum() GetCheckSum()

Throws a NotSupportedException in all cases.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetSourceRange(Int32, Int32, Int32, Int32) GetSourceRange(Int32, Int32, Int32, Int32) GetSourceRange(Int32, Int32, Int32, Int32) GetSourceRange(Int32, Int32, Int32, Int32)

Throws a NotSupportedException in all cases.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetUnmanaged() GetUnmanaged() GetUnmanaged() GetUnmanaged()

Gets a pointer to the unmanaged ISymUnmanagedDocument interface for this SymDocument instance.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
__dtor() __dtor() __dtor() __dtor()

Releases the resources held by the current instance.

{dtor}() {dtor}() {dtor}() {dtor}()

Releases the resources held by the current instance.

Applies to