Share via


SymBinder.GetReader Metodo

Definizione

Recupera l'interfaccia del visualizzatore dei simboli per il file corrente.

Overload

GetReader(Int32, String, String)
Obsoleti.

Ottiene l'interfaccia del lettore di simboli per il file corrente, usando il puntatore di tipo Integer a 32 bit a un'interfaccia di metadati, il nome di file e il percorso di ricerca specificati.

GetReader(IntPtr, String, String)

Ottiene l'interfaccia del lettore di simboli per il file corrente, usando il puntatore a un'interfaccia di metadati, il nome di file e il percorso di ricerca specificati.

GetReader(Int32, String, String)

Attenzione

The recommended alternative is SymBinder.GetReader(IntPtr, String). ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures. http://go.microsoft.com/fwlink/?linkid=14202

Ottiene l'interfaccia del lettore di simboli per il file corrente, usando il puntatore di tipo Integer a 32 bit a un'interfaccia di metadati, il nome di file e il percorso di ricerca specificati.

public:
 override System::Diagnostics::SymbolStore::ISymbolReader ^ GetReader(int importer, System::String ^ filename, System::String ^ searchPath);
public:
 virtual System::Diagnostics::SymbolStore::ISymbolReader ^ GetReader(int importer, System::String ^ filename, System::String ^ searchPath);
public override System.Diagnostics.SymbolStore.ISymbolReader GetReader (int importer, string filename, string searchPath);
[System.Obsolete("The recommended alternative is SymBinder.GetReader(IntPtr, String). ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures. http://go.microsoft.com/fwlink/?linkid=14202")]
public override System.Diagnostics.SymbolStore.ISymbolReader GetReader (int importer, string filename, string searchPath);
[System.Obsolete("The recommended alternative is SymBinder.GetReader(IntPtr, String). ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures. http://go.microsoft.com/fwlink/?linkid=14202")]
public virtual System.Diagnostics.SymbolStore.ISymbolReader GetReader (int importer, string filename, string searchPath);
abstract member GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
override this.GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
[<System.Obsolete("The recommended alternative is SymBinder.GetReader(IntPtr, String). ISymbolBinder1.GetReader takes the importer interface pointer as an IntPtr instead of an Int32, and thus works on both 32-bit and 64-bit architectures. http://go.microsoft.com/fwlink/?linkid=14202")>]
abstract member GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
override this.GetReader : int * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
Public Overrides Function GetReader (importer As Integer, filename As String, searchPath As String) As ISymbolReader
Public Overridable Function GetReader (importer As Integer, filename As String, searchPath As String) As ISymbolReader

Parametri

importer
Int32

Intero a 32 bit che punta a un'interfaccia di importazione di metadati.

filename
String

Nome del file per cui è richiesta l'interfaccia del visualizzatore.

searchPath
String

Percorso di ricerca usato per rilevare il file di simboli.

Restituisce

Interfaccia che legge i simboli di debug.

Implementazioni

Attributi

Commenti

Quando viene assegnato un puntatore a un'interfaccia dei metadati, un nome file e un percorso di ricerca, il GetReader metodo restituisce l'interfaccia ISymbolReader che legge i simboli di debug associati al modulo.

Nota

Non è consigliabile usare un intero a 32 bit come puntatore. Usare invece l'overload GetReader .

Si applica a

GetReader(IntPtr, String, String)

Ottiene l'interfaccia del lettore di simboli per il file corrente, usando il puntatore a un'interfaccia di metadati, il nome di file e il percorso di ricerca specificati.

public:
 override System::Diagnostics::SymbolStore::ISymbolReader ^ GetReader(IntPtr importer, System::String ^ filename, System::String ^ searchPath);
public:
 virtual System::Diagnostics::SymbolStore::ISymbolReader ^ GetReader(IntPtr importer, System::String ^ filename, System::String ^ searchPath);
public override System.Diagnostics.SymbolStore.ISymbolReader GetReader (IntPtr importer, string filename, string searchPath);
public virtual System.Diagnostics.SymbolStore.ISymbolReader GetReader (IntPtr importer, string filename, string searchPath);
abstract member GetReader : nativeint * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
override this.GetReader : nativeint * string * string -> System.Diagnostics.SymbolStore.ISymbolReader
Public Overrides Function GetReader (importer As IntPtr, filename As String, searchPath As String) As ISymbolReader
Public Overridable Function GetReader (importer As IntPtr, filename As String, searchPath As String) As ISymbolReader

Parametri

importer
IntPtr

nativeint

Struttura che punta all'interfaccia di importazione dei metadati.

filename
String

Nome del file per cui è richiesta l'interfaccia del visualizzatore.

searchPath
String

Percorso di ricerca usato per rilevare il file di simboli.

Restituisce

Interfaccia che legge i simboli di debug.

Implementazioni

Commenti

Quando viene assegnato un puntatore a un'interfaccia dei metadati, un nome file e un percorso di ricerca, il GetReader metodo restituisce l'interfaccia ISymbolReader che legge i simboli di debug associati al modulo.

Si applica a