IProjectionSnapshot2.GetMatchingSnapshotInClosure Method (ITextBuffer)
Namespace: Microsoft.VisualStudio.Text.Projection
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'Declaration
Function GetMatchingSnapshotInClosure ( _
targetBuffer As ITextBuffer _
) As ITextSnapshot
ITextSnapshot GetMatchingSnapshotInClosure(
ITextBuffer targetBuffer
)
ITextSnapshot^ GetMatchingSnapshotInClosure(
ITextBuffer^ targetBuffer
)
abstract GetMatchingSnapshotInClosure :
targetBuffer:ITextBuffer -> ITextSnapshot
function GetMatchingSnapshotInClosure(
targetBuffer : ITextBuffer
) : ITextSnapshot
Parameters
- targetBuffer
Type: Microsoft.VisualStudio.Text.ITextBuffer
Return Value
Type: Microsoft.VisualStudio.Text.ITextSnapshot
.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.
See Also
Reference
IProjectionSnapshot2 Interface