Click or drag to resize

IAssetFileName Property


Gets the name of the file associated with the current version of the asset. Does not provide the extension of the file.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.5.94
Syntax
string FileName { get; }

Property Value

Type: String
Examples
Example of replacing a string in the file name in the OnNew custom hook:
C#
contentItem.Name = contentItem.FileName.Replace("-", "_");
See Also