Search Results for

    Show / Hide Table of Contents
    View Source

    Class MacroPropertyCollection

    A macro's property collection

    Inheritance
    System.Object
    System.Collections.ObjectModel.Collection<IMacroProperty>
    System.Collections.ObjectModel.ObservableCollection<IMacroProperty>
    ObservableDictionary<System.String, IMacroProperty>
    Namespace: Umbraco.Cms.Core.Models
    Assembly: Umbraco.Core.dll
    Syntax
    public class MacroPropertyCollection : ObservableDictionary<string, IMacroProperty>, IList<IMacroProperty>, ICollection<IMacroProperty>, IReadOnlyList<IMacroProperty>, IReadOnlyCollection<IMacroProperty>, IEnumerable<IMacroProperty>, IList, ICollection, IEnumerable, INotifyPropertyChanged, INotifyCollectionChanged, IDeepCloneable

    Constructors

    View Source

    MacroPropertyCollection()

    Declaration
    public MacroPropertyCollection()

    Methods

    View Source

    DeepClone()

    Declaration
    public object DeepClone()
    Returns
    Type Description
    System.Object
    View Source

    UpdateProperty(String, String, Nullable<Int32>, String, String)

    Used to update an existing macro property

    Declaration
    public void UpdateProperty(string currentAlias, string name = null, int? sortOrder = null, string editorAlias = null, string newAlias = null)
    Parameters
    Type Name Description
    System.String currentAlias

    The existing property alias

    System.String name
    System.Nullable<System.Int32> sortOrder
    System.String editorAlias
    System.String newAlias
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • MacroPropertyCollection()
    • Methods
      • DeepClone()
      • UpdateProperty(String, String, Nullable<Int32>, String, String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX