Remove the specified object of type ModuleAction from the collection.

Namespace: DotNetNuke.Entities.Modules.Actions
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
public void Remove(
	ModuleAction value
)
Visual Basic
Public Sub Remove ( 
	value As ModuleAction
)

Parameters

value
Type: DotNetNuke.Entities.Modules.Actions..::..ModuleAction
An object of type ModuleAction to remove from the collection.

Examples

 Copy imageCopy Code
' Removes the specified ModuleAction from the collection. 
Dim testModuleAction = New ModuleAction(5, "Edit Action", "Edit")
collection.Remove(testModuleAction)

See Also