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
public override int Peek()
public:
virtual int Peek() override
abstract Peek : unit -> int
override Peek : unit -> int
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
- 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.