Compartilhar via


IBufferGraph.GetTextBuffers(Predicate<ITextBuffer>) Method

Definition

Finds all the ITextBuffer objects in the graph that match the specified predicate.

public:
 System::Collections::ObjectModel::Collection<Microsoft::VisualStudio::Text::ITextBuffer ^> ^ GetTextBuffers(Predicate<Microsoft::VisualStudio::Text::ITextBuffer ^> ^ match);
public System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Text.ITextBuffer> GetTextBuffers (Predicate<Microsoft.VisualStudio.Text.ITextBuffer> match);
abstract member GetTextBuffers : Predicate<Microsoft.VisualStudio.Text.ITextBuffer> -> System.Collections.ObjectModel.Collection<Microsoft.VisualStudio.Text.ITextBuffer>
Public Function GetTextBuffers (match As Predicate(Of ITextBuffer)) As Collection(Of ITextBuffer)

Parameters

match
Predicate<ITextBuffer>

The predicate used for matching.

Returns

A non-null but possibly empty collection of ITextBuffer objects.

Exceptions

match is null.

Applies to