Freigeben über


ISymbolWriter.SetMethodSourceRange-Methode

Gibt den tatsächlichen Anfang und das tatsächliche Ende einer Methode in einer Quelldatei an. Geben Sie die Reichweite einer Methode mit SetMethodSourceRange und unabhängig von den in dieser Methode vorhandenen Sequenzpunkten an.

Namespace: System.Diagnostics.SymbolStore
Assembly: mscorlib (in mscorlib.dll)

Syntax

'Declaration
Sub SetMethodSourceRange ( _
    startDoc As ISymbolDocumentWriter, _
    startLine As Integer, _
    startColumn As Integer, _
    endDoc As ISymbolDocumentWriter, _
    endLine As Integer, _
    endColumn As Integer _
)
'Usage
Dim instance As ISymbolWriter
Dim startDoc As ISymbolDocumentWriter
Dim startLine As Integer
Dim startColumn As Integer
Dim endDoc As ISymbolDocumentWriter
Dim endLine As Integer
Dim endColumn As Integer

instance.SetMethodSourceRange(startDoc, startLine, startColumn, endDoc, endLine, endColumn)
void SetMethodSourceRange (
    ISymbolDocumentWriter startDoc,
    int startLine,
    int startColumn,
    ISymbolDocumentWriter endDoc,
    int endLine,
    int endColumn
)
void SetMethodSourceRange (
    ISymbolDocumentWriter^ startDoc, 
    int startLine, 
    int startColumn, 
    ISymbolDocumentWriter^ endDoc, 
    int endLine, 
    int endColumn
)
void SetMethodSourceRange (
    ISymbolDocumentWriter startDoc, 
    int startLine, 
    int startColumn, 
    ISymbolDocumentWriter endDoc, 
    int endLine, 
    int endColumn
)
function SetMethodSourceRange (
    startDoc : ISymbolDocumentWriter, 
    startLine : int, 
    startColumn : int, 
    endDoc : ISymbolDocumentWriter, 
    endLine : int, 
    endColumn : int
)

Parameter

  • startDoc
    Das Dokument, das die Anfangsposition enthält.
  • startLine
    Die Nummer der Anfangszeile.
  • startColumn
    Die Anfangsspalte.
  • endDoc
    Das Dokument, das die Endposition enthält.
  • endLine
    Die Nummer der Endzeile.
  • endColumn
    Die Nummer der Endspalte.

Plattformen

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.

Versionsinformationen

.NET Framework

Unterstützt in: 2.0, 1.1, 1.0

Siehe auch

Referenz

ISymbolWriter-Schnittstelle
ISymbolWriter-Member
System.Diagnostics.SymbolStore-Namespace