TextBuffer.Find (Método)

Esta API es compatible con la infraestructura de .NET Framework y no está diseñada para utilizarse directamente desde el código.

Sólo para uso interno de Microsoft.

Espacio de nombres:  EnvDTE
Ensamblado:  EnvDTE (en EnvDTE.dll)

Sintaxis

'Declaración
Function Find ( _
    Target As String, _
    <OutAttribute> ByRef StartLine As Integer, _
    <OutAttribute> ByRef StartColumn As Integer, _
    <OutAttribute> ByRef EndLine As Integer, _
    <OutAttribute> ByRef EndColumn As Integer, _
    WholeWord As Boolean, _
    MatchCase As Boolean, _
    PatternSearch As Boolean _
) As Boolean
bool Find(
    string Target,
    out int StartLine,
    out int StartColumn,
    out int EndLine,
    out int EndColumn,
    bool WholeWord,
    bool MatchCase,
    bool PatternSearch
)
bool Find(
    [InAttribute] String^ Target, 
    [InAttribute] [OutAttribute] int% StartLine, 
    [InAttribute] [OutAttribute] int% StartColumn, 
    [InAttribute] [OutAttribute] int% EndLine, 
    [InAttribute] [OutAttribute] int% EndColumn, 
    [InAttribute] bool WholeWord, 
    [InAttribute] bool MatchCase, 
    [InAttribute] bool PatternSearch
)
abstract Find : 
        Target:string * 
        StartLine:int byref * 
        StartColumn:int byref * 
        EndLine:int byref * 
        EndColumn:int byref * 
        WholeWord:bool * 
        MatchCase:bool * 
        PatternSearch:bool -> bool 
function Find(
    Target : String, 
    StartLine : int, 
    StartColumn : int, 
    EndLine : int, 
    EndColumn : int, 
    WholeWord : boolean, 
    MatchCase : boolean, 
    PatternSearch : boolean
) : boolean

Parámetros

  • StartLine
    Tipo: System.Int32%
    Línea a partir de la que se va a comenzar.
  • StartColumn
    Tipo: System.Int32%
    Columna a partir de la que se va a comenzar.
  • EndLine
    Tipo: System.Int32%
    Línea en la que se va a detener.
  • EndColumn
    Tipo: System.Int32%
    Columna en la que se va a detener.
  • WholeWord
    Tipo: System.Boolean
    true si la operación de búsqueda debe coincidir en una palabra; de lo contrario, false.
  • MatchCase
    Tipo: System.Boolean
    true si la operación de búsqueda debe coincidir con el caso del destino; de lo contrario, false.
  • PatternSearch
    Tipo: System.Boolean
    true si la operación de búsqueda debe coincidir con el modelo de destino; de lo contrario, false.

Valor devuelto

Tipo: System.Boolean
true si la operación de búsqueda encontró la cadena; de lo contrario, false.

Seguridad de .NET Framework

Vea también

Referencia

TextBuffer Interfaz

EnvDTE (Espacio de nombres)