Dela via


CompilerIncludeHandler.Open Method

Note

This method is available only when developing for Windows.

Returns a Stream containing include data from a specified file.

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

Syntax

public virtual abstract Stream Open (
         CompilerIncludeHandlerType includeType,
         string filename
)

Parameters

  • includeType
    A CompilerIncludeHandlerType indicating whether the file is a local or system resource.
  • filename
    The file name of the file to open.

Return Value

A Stream of compiler include data.

See Also

Reference

CompilerIncludeHandler Class
CompilerIncludeHandler Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Windows XP SP2, Windows Vista