This topic has not yet been rated - Rate this topic

TitleContainer.OpenStream Method

Returns a stream to an existing file in the default title storage location.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public static Stream OpenStream (
         string name
)

Parameters

name
Type: String
The name of the file to open.

Return Value

The file stream that can be used to read the file's data.
The stream returned is read-only. The file to be read must already exist, or this method will fail.
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ