Dela via


ContentBuildLogger.GetCurrentFilename Method

Note

This method is available only when developing for Windows.

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

Syntax

'Declaration
Protected Function GetCurrentFilename ( _
         contentIdentity As ContentIdentity _
) As String 
protected string GetCurrentFilename (
         ContentIdentity contentIdentity
)
protected:
String GetCurrentFilename(
         ContentIdentity contentIdentity
)

Parameters

  • contentIdentity
    Type: 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

Type: String
Name of the file being processed.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline

Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

See Also

Reference

ContentBuildLogger Class
ContentBuildLogger Members
Microsoft.Xna.Framework.Content.Pipeline Namespace

Platforms

Windows 7, Windows Vista, Windows XP