IDifferenceBufferFactoryService.TryGetDifferenceBuffer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.