Freigeben über


TextRange2.Find Method

Searches a TextRange2 object for a subset of text.

Namespace:  Microsoft.Office.Core
Assembly:  office (in office.dll)

Syntax

'Declaration
Function Find ( _
    FindWhat As String, _
    After As Integer, _
    MatchCase As MsoTriState, _
    WholeWords As MsoTriState _
) As TextRange2
'Usage
Dim instance As TextRange2
Dim FindWhat As String
Dim After As Integer
Dim MatchCase As MsoTriState
Dim WholeWords As MsoTriState
Dim returnValue As TextRange2

returnValue = instance.Find(FindWhat, _
    After, MatchCase, WholeWords)
TextRange2 Find(
    string FindWhat,
    int After,
    MsoTriState MatchCase,
    MsoTriState WholeWords
)

Parameters

  • After
    Type: System.Int32

    Specifies the point in the text range to start the search.

Return Value

Type: Microsoft.Office.Core.TextRange2
TextRange2

See Also

Reference

TextRange2 Interface

TextRange2 Members

Microsoft.Office.Core Namespace