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.6.308
Syntax ReadOnly Property FileName As String
Get
property String^ FileName {
String^ get ();
}
abstract FileName : string with get
Property Value
Type:
StringExamples
Example of replacing a string in the file name in the OnNew custom hook:
contentItem.Name = contentItem.FileName.Replace("-", "_");
See Also