Partager via


IProjectionSnapshot2.GetMatchingSnapshotInClosure Method (Predicate<ITextBuffer>)

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

Syntax

'Déclaration
Function GetMatchingSnapshotInClosure ( _
    match As Predicate(Of ITextBuffer) _
) As ITextSnapshot
ITextSnapshot GetMatchingSnapshotInClosure(
    Predicate<ITextBuffer> match
)
ITextSnapshot^ GetMatchingSnapshotInClosure(
    Predicate<ITextBuffer^>^ match
)
abstract GetMatchingSnapshotInClosure : 
        match:Predicate<ITextBuffer> -> ITextSnapshot 
function GetMatchingSnapshotInClosure(
    match : Predicate<ITextBuffer>
) : ITextSnapshot

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.ITextSnapshot

.NET Framework Security

See Also

Reference

IProjectionSnapshot2 Interface

GetMatchingSnapshotInClosure Overload

Microsoft.VisualStudio.Text.Projection Namespace