Condividi tramite


IDifferenceBuffer.CurrentSnapshotDifference Property

Gets or sets the currently-used snapshot difference that matches up with the current snapshot of the InlineBuffer.

Namespace:  Microsoft.VisualStudio.Text.Differencing
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)

Syntax

'Declaration
ReadOnly Property CurrentSnapshotDifference As ISnapshotDifference
ISnapshotDifference CurrentSnapshotDifference { get; }
property ISnapshotDifference^ CurrentSnapshotDifference {
    ISnapshotDifference^ get ();
}
abstract CurrentSnapshotDifference : ISnapshotDifference with get
function get CurrentSnapshotDifference () : ISnapshotDifference

Property Value

Type: Microsoft.VisualStudio.Text.Differencing.ISnapshotDifference
The currently-used snapshot difference that matches up with the current snapshot of the InlineBuffer.

Remarks

This is nulla null reference (Nothing in Visual Basic) before the first snapshot difference is computed.

.NET Framework Security

See Also

Reference

IDifferenceBuffer Interface

Microsoft.VisualStudio.Text.Differencing Namespace