Otter SDK Reference
Version:

OpenRaftItem(RaftItemType type, string name, System.IO.FileMode fileMode, System.IO.FileAccess fileAccess) Method

Opens an item contained in the raft.

Syntax

public abstract System.IO.Stream OpenRaftItem(RaftItemType type, string name, System.IO.FileMode fileMode, System.IO.FileAccess fileAccess)

Parameters

type
Type: RaftItemType

The type of the item.

name
Type: string

The name of the item.

fileMode
Type: System.IO.FileMode

The desired mode of file access.

fileAccess
Type: System.IO.FileAccess

The desired file access.

Returns

Stream backed by the specified raft item.