Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the name of the asset currently being read by this ContentReader.
Namespace: Microsoft.Xna.Framework.Content
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public string AssetName { get; }
Property Value
Name of the asset currently being read by this ContentReader.
Remarks
AssetName can be useful to include in the exception message if a custom ContentTypeReader encounters an error.
See Also
Reference
ContentReader Class
ContentReader Members
Microsoft.Xna.Framework.Content Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista