Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

COMCharStream::Seek Method (Int64, SeekOrigin)

 

This API supports the product infrastructure and is not intended to be used directly from your code.

Sets the position in the current stream. This method does not do anything. It always returns 0.

Namespace:   Microsoft.JScript
Assembly:  Microsoft.JScript (in Microsoft.JScript.dll)

public:
virtual long long Seek(
	long long offset,
	SeekOrigin origin
) override

Parameters

offset
Type: System::Int64

A byte offset relative to the origin parameter.

origin
Type: System.IO::SeekOrigin

A value that indicates the reference point that is used to obtain the new position.

Return Value

Type: System::Int64

0 in all cases.

.NET Framework
Available since 1.1
Return to top
Show:
© 2017 Microsoft