Compartilhar via


Propriedade FindData.TextSnapshotToSearch

Obtém ou define o ITextSnapshot na qual deseja realizar a pesquisa.

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

Sintaxe

'Declaração
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)

Valor de propriedade

Tipo: Microsoft.VisualStudio.Text.ITextSnapshot
O ITextSnapshot na qual deseja realizar a pesquisa.

Exceções

Exceção Condição
ArgumentNullException

O valor é nulluma referência nula (Nothing no Visual Basic).

Segurança do .NET Framework

Consulte também

Referência

FindData Estrutura

Namespace Microsoft.VisualStudio.Text.Operations