共用方式為


ContentIdentity Constructor (String, String, 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, _
         sourceTool As String, _
         fragmentIdentifier As String _
)
public ContentIdentity (
         string sourceFilename,
         string sourceTool,
         string fragmentIdentifier
)
public:
ContentIdentity(
         String sourceFilename,
         String sourceTool,
         String fragmentIdentifier
)

Parameters

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

  • sourceTool
    Type: String
    The name of the digital content creation (DCC) tool that created the asset.

  • fragmentIdentifier
    Type: String

    Specific location of the content item within the larger source file. For example, this could be a line number in the file.

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