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
'Déclaration
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
- 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.