IFindResultsSnapshotGenerator.CreateSnapshot Yöntem

Tanım

IWpfTableEntriesSnapshotBelirtilen sonuç listesiyle bir oluştur.

public:
 Microsoft::VisualStudio::Shell::TableControl::IWpfTableEntriesSnapshot ^ CreateSnapshot(System::String ^ path, System::String ^ displayPath, Microsoft::VisualStudio::Text::ITextSnapshot ^ snapshot, System::Collections::Generic::IReadOnlyList<Microsoft::VisualStudio::Shell::FindResults::FindResult> ^ results);
public Microsoft.VisualStudio.Shell.TableControl.IWpfTableEntriesSnapshot CreateSnapshot (string path, string displayPath, Microsoft.VisualStudio.Text.ITextSnapshot snapshot, System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Shell.FindResults.FindResult> results);
abstract member CreateSnapshot : string * string * Microsoft.VisualStudio.Text.ITextSnapshot * System.Collections.Generic.IReadOnlyList<Microsoft.VisualStudio.Shell.FindResults.FindResult> -> Microsoft.VisualStudio.Shell.TableControl.IWpfTableEntriesSnapshot
Public Function CreateSnapshot (path As String, displayPath As String, snapshot As ITextSnapshot, results As IReadOnlyList(Of FindResult)) As IWpfTableEntriesSnapshot

Parametreler

path
String

Tüm bulma sonuçlarının bulunduğu dosyanın tam yolu. Bu yol kullanıcıya gösterilir ve arama için kullanılır.

displayPath
String

Belge yolu olarak son kullanıcıya bir yol gösterilir. Null ise path bunun yerine kullanılır.

snapshot
ITextSnapshot

ITextSnapshot bul sonuçlarının oluşturulduğu (açıksa). Belge açık değilse null olmalıdır.

results
IReadOnlyList<FindResult>

Eşleşmelerin listesi.

Döndürülenler

IWpfTableEntriesSnapshot

Tüm bulma sonuçlarının bulunduğu sabit bir anlık görüntü.

Açıklamalar

Daha sonra ek bulma sonuçları oluşturulduysa aynı belge için başka anlık görüntüler oluşturabilirsiniz.

Şunlara uygulanır