Aqueduct.SitecoreLib.Search.Utilities.ItemUtil.GetStateId C# (CSharp) Метод

GetStateId() публичный статический Метод

Returns a workflow state item ID.
public static GetStateId ( Item item ) : string
item Item Sitecore content item.
Результат string
        public static string GetStateId(Item item)
        {
            Assert.ArgumentNotNull(item, "item");
            var workflowInfo = item.Database.DataManager.GetWorkflowInfo(item);
            return workflowInfo != null ? workflowInfo.StateID : string.Empty;
        }