IBufferGraph.GetTextBuffers(Predicate<ITextBuffer>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.