Compartilhar via


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

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

See Also

Reference

IDifferenceBufferFactoryService Interface

Microsoft.VisualStudio.Text.Differencing Namespace