共用方式為


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: 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

Microsoft.VisualStudio.Shell.Design.Serialization Namespace