Table of Contents

Class TitleContainer

Namespace
Microsoft.Xna.Framework
Assembly
MonoGame.Framework.dll

Provides functionality for opening a stream in the title storage area.

public static class TitleContainer
Inheritance
TitleContainer
Inherited Members

Properties

ContentProvider

Set this to a valid IContentProvider for the TitleContainer to check any content requests by it.

public static IContentProvider ContentProvider { get; set; }

Property Value

IContentProvider

Methods

OpenStream(string)

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

public static Stream OpenStream(string name)

Parameters

name string

The filepath relative to the title storage area.

Returns

Stream

An open stream if a file is found.

Exceptions

ArgumentNullException

If the name is null or invalid.