Partilhar via


ContentIdentity Constructor (String)

Note

This constructor is available only when developing for Windows.

Initializes a new instance of ContentIdentity with the specified values.

Syntax

'Declaration
Public Sub New ( _
         sourceFilename As String _
)
public ContentIdentity (
         string sourceFilename
)
public:
ContentIdentity(
         String sourceFilename
)

Parameters

  • sourceFilename
    Type: String
    The absolute path to the file name of the asset source.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline

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

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP