Share via


ITextSnapshot.Version Property

The version of the ITextBuffer that this ITextSnapshot represents.

Namespace:  Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
ReadOnly Property Version As ITextVersion
ITextVersion Version { get; }
property ITextVersion^ Version {
    ITextVersion^ get ();
}
abstract Version : ITextVersion
function get Version () : ITextVersion

Property Value

Type: Microsoft.VisualStudio.Text.ITextVersion
The ITextVersion.

Remarks

This property always returns the same ITextVersion. The Changes property is initially nulla null reference (Nothing in Visual Basic) and becomes populated when it ceases to be the most recent version.

.NET Framework Security

See Also

Reference

ITextSnapshot Interface

Microsoft.VisualStudio.Text Namespace