GraphicsStream.Seek(Int64,SeekOrigin) Method (Microsoft.DirectX)
Sets the position within the current stream.
Visual Basic Overrides Public Function Seek( _
ByVal newposition As Long, _
ByVal origin As SeekOrigin_
) As LongC# public override long Seek(
long newposition,
SeekOriginorigin
);C++ public:
virtual long Seek(
long newposition,
SeekOriginorigin
) override;JScript public override function Seek(
newposition : long,
origin : SeekOrigin
) : long;
newposition System.Int64
Value that represents the new position within the stream buffer.origin System.IO.SeekOrigin
Member of the SeekOriginenumeration that specifies where to begin seeking.
System.Int64
New position within the stream buffer.
Exceptions
ArgumentException ![]()
The new location is either less than 0 or greater than the stream buffer's data size.
Show:
