Export (0) Print
Expand All

Seek Method

HealthVault
Sets the position within the current stream.

Namespace: Microsoft.Health
Assembly: Microsoft.Health (in Microsoft.Health.dll) Version: 2.1.0.0 (1.15.1003.9505)

public override long Seek(
	long offset,
	SeekOrigin origin
)

Parameters

offset
Type: System..::..Int64
A byte offset releative to the origin parameter.
origin
Type: System.IO..::..SeekOrigin
A value of type SeekOrigin indicating the reference point used to obtain the new position.

Return Value

The new position within the current stream.

ExceptionCondition
System.IO..::..IOException If offset causes the position to be set before the beginning or after the end of the stream.
System..::..NotSupportedExceptionCanSeek is false or Length is unknown and origin is End.
Show:
© 2014 Microsoft