다음을 통해 공유


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

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

See Also

Reference

IBufferGraph Interface

Microsoft.VisualStudio.Text.Projection Namespace