IProjectionSnapshot2::GetMatchingSnapshotInClosure Method (ITextBuffer^)
Visual Studio 2015
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.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Parameters
- targetBuffer
-
Type:
Microsoft.VisualStudio.Text::ITextBuffer^
The target buffer.
| Exception | Condition |
|---|---|
| ArgumentNullException | If targetBuffer is null. |
Show: