ContentBuildLogger.GetCurrentFilename Method
Gets the filename currently being processed, for use in warning and error messages.
Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)
Syntax
protected string GetCurrentFilename (
ContentIdentity contentIdentity
)
Parameters
- contentIdentity
Identity of a content item. If specified, GetCurrentFilename uses this value to refine the search. If no value os specified, the current PushFile state is used.
Return Value
Name of the file being processed.
See Also
Reference
ContentBuildLogger Class
ContentBuildLogger Members
Microsoft.Xna.Framework.Content.Pipeline Namespace
Platforms
Windows XP SP2, Windows Vista