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
'Declaração
Public Overrides Function Peek As Integer
public override int Peek()
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.