ContentIdentity Class (Microsoft.Xna.Framework.Content.Pipeline)

Provides properties describing the origin of the game asset, such as the original source file and creation tool. This information is used for error reporting, and by processors that need to determine from what directory the asset was originally loaded.
System.Object
   Microsoft.Xna.Framework.Content.Pipeline.ContentIdentity

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
[SerializableAttribute]
public class ContentIdentity

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The ContentIdentity type exposes the following members.

  Platforms Name Description
ContentIdentity() Initializes a new instance of ContentIdentity. 
ContentIdentity(string) Initializes a new instance of ContentIdentity with the specified values. 
ContentIdentity(string, string) Initializes a new instance of ContentIdentity with the specified values. 
ContentIdentity(string, string, string) Initializes a new instance of ContentIdentity with the specified values. 
Top
  Platforms Name Description
FragmentIdentifier Gets or sets the specific location of the content item within the larger source file. 
SourceFilename Gets or sets the file name of the asset source. 
SourceTool Gets or sets the creation tool of the asset. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop