FindData Constructor (String, ITextSnapshot)
Initializes a new instance of FindData.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Déclaration
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: System.String
The search string.
- textSnapshot
Type: Microsoft.VisualStudio.Text.ITextSnapshot
The text snapshot in which to search.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.