ISymbolWriter.SetMethodSourceRange 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定源文件内方法的真正开始和结尾。 使用 SetMethodSourceRange(ISymbolDocumentWriter, Int32, Int32, ISymbolDocumentWriter, Int32, Int32) 指定方法的作用域,独立于方法内存在的序列点。
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)
	参数
- startDoc
 - ISymbolDocumentWriter
 
包含起始位置的文档。
- startLine
 - Int32
 
起始行号。
- startColumn
 - Int32
 
起始列。
- endDoc
 - ISymbolDocumentWriter
 
包含结束位置的文档。
- endLine
 - Int32
 
结束行号。
- endColumn
 - Int32
 
结束列号。