IBufferGraph.GetTextBuffers Method
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)
Syntax
‘선언
Function GetTextBuffers ( _
match As Predicate(Of ITextBuffer) _
) As Collection(Of ITextBuffer)
Collection<ITextBuffer> GetTextBuffers(
Predicate<ITextBuffer> match
)
Collection<ITextBuffer^>^ GetTextBuffers(
Predicate<ITextBuffer^>^ match
)
abstract GetTextBuffers :
match:Predicate<ITextBuffer> -> Collection<ITextBuffer>
function GetTextBuffers(
match : Predicate<ITextBuffer>
) : Collection<ITextBuffer>
Parameters
- match
Type: System.Predicate<ITextBuffer>
The predicate used for matching.
Return Value
Type: System.Collections.ObjectModel.Collection<ITextBuffer>
A non-nulla null reference (Nothing in Visual Basic) but possibly empty collection of ITextBuffer objects.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | match is nulla null reference (Nothing in Visual Basic). |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.