Class ModuleActionCollection
Inheritance
ModuleActionCollection
Assembly: DotNetNuke.dll
Syntax
public class ModuleActionCollection : CollectionBase, IList, ICollection, IEnumerable
Constructors
ModuleActionCollection()
Declaration
public ModuleActionCollection()
ModuleActionCollection(ModuleActionCollection)
Declaration
public ModuleActionCollection(ModuleActionCollection value)
Parameters
ModuleActionCollection(ModuleAction[])
Declaration
public ModuleActionCollection(ModuleAction[] value)
Parameters
Properties
this[int]
Declaration
public ModuleAction this[int index] { get; set; }
Parameters
Type |
Name |
Description |
int |
index |
|
Property Value
Methods
Add(ModuleAction)
Declaration
public int Add(ModuleAction value)
Parameters
Returns
Add(int, string, string)
Declaration
public ModuleAction Add(int iD, string title, string cmdName)
Parameters
Returns
Add(int, string, string, string, string, string, bool, SecurityAccessLevel, bool, bool)
Declaration
public ModuleAction Add(int iD, string title, string cmdName, string cmdArg, string icon, string url, bool useActionEvent, SecurityAccessLevel secure, bool visible, bool newWindow)
Parameters
Returns
Add(int, string, string, string, string, string, string, bool, SecurityAccessLevel, bool, bool)
Declaration
public ModuleAction Add(int iD, string title, string cmdName, string cmdArg, string icon, string url, string clientScript, bool useActionEvent, SecurityAccessLevel secure, bool visible, bool newWindow)
Parameters
Returns
AddRange(ModuleActionCollection)
Declaration
public void AddRange(ModuleActionCollection value)
Parameters
AddRange(ModuleAction[])
Declaration
public void AddRange(ModuleAction[] value)
Parameters
Contains(ModuleAction)
Declaration
public bool Contains(ModuleAction value)
Parameters
Returns
GetActionByCommandName(string)
Declaration
public ModuleAction GetActionByCommandName(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
GetActionByID(int)
Declaration
public ModuleAction GetActionByID(int id)
Parameters
Type |
Name |
Description |
int |
id |
|
Returns
GetActionsByCommandName(string)
Declaration
public ModuleActionCollection GetActionsByCommandName(string name)
Parameters
Type |
Name |
Description |
string |
name |
|
Returns
IndexOf(ModuleAction)
Declaration
public int IndexOf(ModuleAction value)
Parameters
Returns
Insert(int, ModuleAction)
Declaration
public void Insert(int index, ModuleAction value)
Parameters
Remove(ModuleAction)
Declaration
public void Remove(ModuleAction value)
Parameters
Implements
Extension Methods