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
'宣言
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.