ContentBuildLogger.GetCurrentFilename Method (Microsoft.Xna.Framework.Content.Pipeline)

Gets the filename currently being processed, for use in warning and error messages.

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
protected string GetCurrentFilename(
	ContentIdentity contentIdentity
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

contentIdentity
Type: Microsoft.Xna.Framework.Content.Pipeline.ContentIdentity
Identity of a content item. If specified, GetCurrentFilename uses this value to refine the search. If no value is specified, the current PushFile state is used.

Return Value

Type: System.String
Name of the file being processed.
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop