ContentStatsCollection.TryGetStats Method (Microsoft.Xna.Framework.Content.Pipeline)

Get the content statistics for a source file and returns true if found.

Namespace: Microsoft.Xna.Framework.Content.Pipeline
Assembly: MonoGame.Framework.Content.Pipeline (MonoGame.Framework.Content.Pipeline.dll 3.8.0.1082)
  • C#
  • VB
  • F#
public bool TryGetStats(
	string sourceFile, 
	out ContentStats stats
)

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

Parameters

sourceFile
Type: System.String
stats
Type: out Microsoft.Xna.Framework.Content.Pipeline.ContentStats

Return Value

Type: System.Boolean
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop