Share via


DocDataTextReader.Peek Method

Gets the current position in the text.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Overrides Function Peek As Integer
'Usage
Dim instance As DocDataTextReader 
Dim returnValue As Integer 

returnValue = instance.Peek()
public override int Peek()
public:
virtual int Peek() override
public override function Peek() : int

Return Value

Type: System.Int32
The current position, or -1 if the current position is equal to or greater than the length of the text.

.NET Framework Security

See Also

Reference

DocDataTextReader Class

DocDataTextReader Members

Microsoft.VisualStudio.Shell.Design.Serialization Namespace