Compartir a través de


TextRange2.Find(String, Int32, MsoTriState, MsoTriState) Método

Definición

Busca un subconjunto de texto en un TextRange2 objeto.

public Microsoft.Office.Core.TextRange2 Find (string FindWhat, int After = 0, Microsoft.Office.Core.MsoTriState MatchCase = Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState WholeWords = Microsoft.Office.Core.MsoTriState.msoFalse);
abstract member Find : string * int * Microsoft.Office.Core.MsoTriState * Microsoft.Office.Core.MsoTriState -> Microsoft.Office.Core.TextRange2
Public Function Find (FindWhat As String, Optional After As Integer = 0, Optional MatchCase As MsoTriState = Microsoft.Office.Core.MsoTriState.msoFalse, Optional WholeWords As MsoTriState = Microsoft.Office.Core.MsoTriState.msoFalse) As TextRange2

Parámetros

FindWhat
String

Contiene el texto que se buscará.

After
Int32

Especifica el punto del intervalo de texto donde se iniciará la búsqueda.

MatchCase
MsoTriState

Especifica si las mayúsculas y minúsculas del texto de destino deben coincidir exactamente con el texto buscado.

WholeWords
MsoTriState

Especifica que sólo se buscarán palabras completas.

Devoluciones

TextRange2

Se aplica a