Compartilhar via


FindData Constructor (String, ITextSnapshot)

Initializes a new instance of FindData with the specified search pattern and text snapshot.

Namespace:  Microsoft.VisualStudio.Text.Operations
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
Public Sub New ( _
    searchPattern As String, _
    textSnapshot As ITextSnapshot _
)
public FindData(
    string searchPattern,
    ITextSnapshot textSnapshot
)
public:
FindData(
    String^ searchPattern, 
    ITextSnapshot^ textSnapshot
)
new : 
        searchPattern:string * 
        textSnapshot:ITextSnapshot -> FindData
public function FindData(
    searchPattern : String, 
    textSnapshot : ITextSnapshot
)

Parameters

  • searchPattern
    Type: String

    The search string.

.NET Framework Security

See Also

Reference

FindData Structure

FindData Overload

Microsoft.VisualStudio.Text.Operations Namespace