SKStream.Move 方法

定義

多載

名稱 Description
Move(Int32)

尋求在水流中取得相對的偏移。

Move(Int64)
已淘汰.

尋求在水流中取得相對的偏移。

Move(Int32)

尋求在水流中取得相對的偏移。

public bool Move(int offset);

參數

offset
Int32

相對偏移。

傳回

true若尋求被支持且尋求成功;否則,。 false

備註

若嘗試移動到溪流外的位置,該位置會設定為溪流中最近的點(起點或終點)。

適用於

Move(Int64)

警告

The native stream move offset is capped at a 32-bit int. Use Move(int) instead.

尋求在水流中取得相對的偏移。

[System.Obsolete("The native stream move offset is capped at a 32-bit int. Use Move(int) instead.")]
public bool Move(long offset);

參數

offset
Int64

相對偏移。

傳回

true若尋求被支持且尋求成功;否則,。 false

屬性

備註

若嘗試移動到溪流外的位置,該位置會設定為溪流中最近的點(起點或終點)。

適用於