Partager via


IDifferenceBufferFactoryService.TryGetDifferenceBuffer Method

Definition

If there is a IDifferenceBuffer for the given projection buffer, retrieve it.

public:
 Microsoft::VisualStudio::Text::Differencing::IDifferenceBuffer ^ TryGetDifferenceBuffer(Microsoft::VisualStudio::Text::Projection::IProjectionBufferBase ^ projectionBuffer);
public Microsoft.VisualStudio.Text.Differencing.IDifferenceBuffer TryGetDifferenceBuffer (Microsoft.VisualStudio.Text.Projection.IProjectionBufferBase projectionBuffer);
abstract member TryGetDifferenceBuffer : Microsoft.VisualStudio.Text.Projection.IProjectionBufferBase -> Microsoft.VisualStudio.Text.Differencing.IDifferenceBuffer
Public Function TryGetDifferenceBuffer (projectionBuffer As IProjectionBufferBase) As IDifferenceBuffer

Parameters

projectionBuffer
IProjectionBufferBase

The projection buffer.

Returns

The difference buffer if one exists, null otherwise.

Applies to