Class MacroPropertyCollection
A macro's property collection
Namespace: Umbraco.Cms.Core.Models
Assembly: Umbraco.Core.dll
Syntax
public class MacroPropertyCollection : ObservableDictionary<string, IMacroProperty>, IDeepCloneable
Constructors
View SourceMacroPropertyCollection()
Declaration
public MacroPropertyCollection()
Methods
View SourceDeepClone()
Declaration
public object DeepClone()
Returns
Type | Description |
---|---|
System. |
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. |
currentAlias | The existing property alias |
System. |
name | |
System. |
sortOrder | |
System. |
editorAlias | |
System. |
newAlias |