Partager via


AssignCulture.CultureNeutralAssignedFiles Property

Definition

This list has the same number of items as the Files list or the AssignedFiles list.

Items in this list have the file name from Files or AssignedFiles but with the culture stripped if it was embedded in the file name.

So for example, if the incoming item in Files was:

 MyBitmap.fr.bmp

then the corresponding file in CultureNeutralAssignedFiles will be:

 MyBitmap.bmp

The culture will only be stripped if it is a valid culture identifier. So for example,

 MyCrazyFile.XX.txt

will result in exactly the same file name:

 MyCrazyFile.XX.txt

because 'XX' is not a valid culture identifier.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 property cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ CultureNeutralAssignedFiles { cli::array <Microsoft::Build::Framework::ITaskItem ^> ^ get(); };
[Microsoft.Build.Framework.Output]
public Microsoft.Build.Framework.ITaskItem[] CultureNeutralAssignedFiles { get; }
[Microsoft.Build.Framework.Output]
public Microsoft.Build.Framework.ITaskItem[] CultureNeutralAssignedFiles { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
[<Microsoft.Build.Framework.Output>]
member this.CultureNeutralAssignedFiles : Microsoft.Build.Framework.ITaskItem[]
[<Microsoft.Build.Framework.Output>]
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.CultureNeutralAssignedFiles : Microsoft.Build.Framework.ITaskItem[]
Public ReadOnly Property CultureNeutralAssignedFiles As ITaskItem()

Property Value

A subset of AssignedFiles that do not have a Culture metadata entry.

Attributes

Applies to