SourceLocation Classe
Definição
Um local específico em um arquivo de código-fonte de destino.Identifies a specific location in a target source code file.
public ref class SourceLocation
[System.Serializable]
public class SourceLocation
[<System.Serializable>]
type SourceLocation = class
Public Class SourceLocation
- Herança
-
SourceLocation
- Atributos
Construtores
| SourceLocation(String, Int32) |
Cria uma nova instância da classe SourceLocation que especifica um nome de arquivo de código-fonte e o número de uma linha no arquivo.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) |
Cria uma nova instância da classe SourceLocation que especifica um nome de arquivo de código-fonte e os parâmetros para um intervalo de dados dentro desse arquivo.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. |
Propriedades
| EndColumn |
Obtém a coluna final em um intervalo de uma ou mais colunas no arquivo de código-fonte.Gets the final column in a range of one or more columns in the source code file. |
| EndLine |
Obtém a linha final em um intervalo de uma ou mais linhas no arquivo de código-fonte.Gets the final line in a range of one or more lines in the source code file. |
| FileName |
Obtém o nome do arquivo de código-fonte de destino.Gets the name of the target source code file. |
| IsSingleWholeLine |
Obtém um valor que indica se as configurações de linha e coluna definem uma única linha completa e não de várias linhas, no arquivo de código-fonte.Gets a value that indicates whether the line and column settings define a single, complete line, and not multiple lines, in the source code file. |
| StartColumn |
Obtém a primeira coluna em um intervalo de uma ou mais colunas no arquivo de código-fonte.Gets the first column in a range of one or more columns in the source code file. |
| StartLine |
Obtém a primeira linha em um intervalo de uma ou mais linhas no arquivo de código-fonte.Gets the first line in a range of one or more lines in the source code file. |
Métodos
| Equals(Object) |
Retorna um valor que indica se as configurações de coluna e linha de arquivo do código-fonte referenciadas pelo objeto SourceLocation são uma correspondência exata para as configurações de linha e coluna em outro objeto SourceLocation especificado.Returns a value that indicates whether the source code file line and column settings referenced by the SourceLocation object are an exact match for the line and column settings in another, specified SourceLocation object. |
| GetHashCode() |
Retorna um valor exclusivo para representar o objeto SourceLocation.Returns a unique value to represent the SourceLocation object. |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |