TitleContainer.OpenStream Method (Microsoft.Xna.Framework)

Returns an open stream to an exsiting file in the title storage area.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.341)
  • C#
  • VB
  • F#
public static Stream OpenStream(
	string name
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

name
Type: System.String
The filepath relative to the title storage area.

Return Value

Type: System.IO.Stream
A open stream or null if the file is not found.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web