다음을 통해 공유


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

‘선언
Public Overrides Function Peek As Integer
‘사용 방법
Dim instance As DocDataTextReader
Dim returnValue As Integer

returnValue = instance.Peek()
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

See Also

Reference

DocDataTextReader Class

DocDataTextReader Members

Microsoft.VisualStudio.Shell.Design.Serialization Namespace