Share via


FindData.TextSnapshotToSearch Property

Gets or sets the ITextSnapshot on which to perform the search.

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

Syntax

'Declaration
Public Property TextSnapshotToSearch As ITextSnapshot
public ITextSnapshot TextSnapshotToSearch { get; set; }
public:
property ITextSnapshot^ TextSnapshotToSearch {
    ITextSnapshot^ get ();
    void set (ITextSnapshot^ value);
}
member TextSnapshotToSearch : ITextSnapshot with get, set
function get TextSnapshotToSearch () : ITextSnapshot
function set TextSnapshotToSearch (value : ITextSnapshot)

Property Value

Type: Microsoft.VisualStudio.Text.ITextSnapshot
The ITextSnapshot on which to perform the search.

Exceptions

Exception Condition
ArgumentNullException

The value is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

FindData Structure

Microsoft.VisualStudio.Text.Operations Namespace