Compartir a través de


IProjectionSnapshot2.GetMatchingSnapshotInClosure Method

Include Protected Members
Include Inherited Members

Computes the snapshot of the buffer that is a contributor to this snapshot.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetMatchingSnapshotInClosure(ITextBuffer) Computes the snapshot of the targetBuffer that is a contributor to this snapshot. If targetBuffer is not in the source closure of this snapshot, return null.
Public method GetMatchingSnapshotInClosure(Predicate<ITextBuffer>) For each snapshot in the source closure of this snapshot, call the match predicate on the corresponding text buffer, and return the first source snapshot for which it returns true. The order in which the source snapshots are visited is undefined.

Top

See Also

Reference

IProjectionSnapshot2 Interface

Microsoft.VisualStudio.Text.Projection Namespace