SourceLocation Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the SourceLocation class.
Overloads
SourceLocation(String, Int32) |
Creates a new instance of the SourceLocation class that specifies a source code file name and the number of a line in that file. |
SourceLocation(String, Int32, Int32, Int32, Int32) |
Creates a new instance of the SourceLocation class that specifies a source code file name and parameters for a range of data within that file. |
SourceLocation(String, Int32)
Creates a new instance of the SourceLocation class that specifies a source code file name and the number of a line in that file.
public:
SourceLocation(System::String ^ fileName, int line);
public SourceLocation (string fileName, int line);
new System.Activities.Debugger.SourceLocation : string * int -> System.Activities.Debugger.SourceLocation
Public Sub New (fileName As String, line As Integer)
Parameters
- fileName
- String
A source code file.
- line
- Int32
The number of a line in the source code file.
Applies to
SourceLocation(String, Int32, Int32, Int32, Int32)
Creates a new instance of the SourceLocation class that specifies a source code file name and parameters for a range of data within that file.
public:
SourceLocation(System::String ^ fileName, int startLine, int startColumn, int endLine, int endColumn);
public SourceLocation (string fileName, int startLine, int startColumn, int endLine, int endColumn);
new System.Activities.Debugger.SourceLocation : string * int * int * int * int -> System.Activities.Debugger.SourceLocation
Public Sub New (fileName As String, startLine As Integer, startColumn As Integer, endLine As Integer, endColumn As Integer)
Parameters
- fileName
- String
The name of a source code file.
- startLine
- Int32
A number that designates the line in the source code file where reading begins.
- startColumn
- Int32
A number that designates the column in the source code file where reading begins.
- endLine
- Int32
A number that designates the line in the source code file where reading ends.
- endColumn
- Int32
A number that designates the column in the source code file where reading ends.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기