Share via


ISymbolWriter.SetMethodSourceRange Méthode

Définition

Spécifie les véritables début et fin d'une méthode dans un fichier source. Utilisez SetMethodSourceRange(ISymbolDocumentWriter, Int32, Int32, ISymbolDocumentWriter, Int32, Int32) pour spécifier l'étendue d'une méthode, indépendamment des points de séquence existant dans la méthode.

public:
 void SetMethodSourceRange(System::Diagnostics::SymbolStore::ISymbolDocumentWriter ^ startDoc, int startLine, int startColumn, System::Diagnostics::SymbolStore::ISymbolDocumentWriter ^ endDoc, int endLine, int endColumn);
public void SetMethodSourceRange (System.Diagnostics.SymbolStore.ISymbolDocumentWriter startDoc, int startLine, int startColumn, System.Diagnostics.SymbolStore.ISymbolDocumentWriter endDoc, int endLine, int endColumn);
abstract member SetMethodSourceRange : System.Diagnostics.SymbolStore.ISymbolDocumentWriter * int * int * System.Diagnostics.SymbolStore.ISymbolDocumentWriter * int * int -> unit
Public Sub SetMethodSourceRange (startDoc As ISymbolDocumentWriter, startLine As Integer, startColumn As Integer, endDoc As ISymbolDocumentWriter, endLine As Integer, endColumn As Integer)

Paramètres

startDoc
ISymbolDocumentWriter

Document qui contient la position de départ.

startLine
Int32

Numéro de ligne de départ.

startColumn
Int32

Colonne de départ.

endDoc
ISymbolDocumentWriter

Document qui contient la position de fin.

endLine
Int32

Numéro de ligne de fin.

endColumn
Int32

Numéro de colonne de fin.

S’applique à