IBufferGraph.GetTextBuffers Method (Predicate<ITextBuffer>)

 

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

Namespace:   Microsoft.VisualStudio.Text.Projection
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Collection<ITextBuffer> GetTextBuffers(
	Predicate<ITextBuffer> match
)

Parameters

match
Type: System.Predicate<ITextBuffer>

The predicate used for matching.

Return Value

Type: System.Collections.ObjectModel.Collection<ITextBuffer>

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

Exception Condition
ArgumentNullException

match is null.

Return to top
Show: