IDifferenceBufferFactoryService.TryGetDifferenceBuffer Method
Gets the IDifferenceBuffer for the given projection buffer if there is one.
Namespace: Microsoft.VisualStudio.Text.Differencing
Assembly: Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Function TryGetDifferenceBuffer ( _
projectionBuffer As IProjectionBufferBase _
) As IDifferenceBuffer
IDifferenceBuffer TryGetDifferenceBuffer(
IProjectionBufferBase projectionBuffer
)
IDifferenceBuffer^ TryGetDifferenceBuffer(
IProjectionBufferBase^ projectionBuffer
)
abstract TryGetDifferenceBuffer :
projectionBuffer:IProjectionBufferBase -> IDifferenceBuffer
function TryGetDifferenceBuffer(
projectionBuffer : IProjectionBufferBase
) : IDifferenceBuffer
Parameters
projectionBuffer
Type: Microsoft.VisualStudio.Text.Projection.IProjectionBufferBaseThe projection buffer.
Return Value
Type: Microsoft.VisualStudio.Text.Differencing.IDifferenceBuffer
The difference buffer if one exists, otherwise nulla null reference (Nothing in Visual Basic).
.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.