IAssetItemPathHistory Property
|
Gets a list of previous paths for the object.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax string[] PathHistory { get; }
ReadOnly Property PathHistory As String()
Get
property array<String^>^ PathHistory {
array<String^>^ get ();
}
abstract PathHistory : string[] with get
Property Value
Type:
StringExamples
Example checking previous paths in a custom hook:
var assetFolder = session.Site.AssetFolder("af/5");
int c;
if (assetFolder != null){
foreach (var child in assetFolder.Assets(out c)){
if (child.PathHistory.Any(a => a.ToLower().Contains("view"))){
}
}
}
See Also