View Source
Class DeleteEventArgs
Inheritance
object
EventArgs
Assembly: Umbraco.Core.dll
Syntax
public class DeleteEventArgs : CancellableEventArgs
Constructors
View Source
DeleteEventArgs(int)
Declaration
public DeleteEventArgs(int id)
Parameters
| Type |
Name |
Description |
| int |
id |
|
View Source
DeleteEventArgs(int, bool)
Declaration
public DeleteEventArgs(int id, bool canCancel)
Parameters
| Type |
Name |
Description |
| int |
id |
|
| bool |
canCancel |
|
View Source
DeleteEventArgs(int, bool, EventMessages)
Declaration
public DeleteEventArgs(int id, bool canCancel, EventMessages eventMessages)
Parameters
| Type |
Name |
Description |
| int |
id |
|
| bool |
canCancel |
|
| EventMessages |
eventMessages |
|
Properties
View Source
Id
Gets the Id of the object being deleted.
Declaration
Property Value
Methods
View Source
Equals(object?)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
The object to compare with the current object.
|
Returns
| Type |
Description |
| bool |
true if the specified object is equal to the current object; otherwise, false.
|
View Source
Equals(DeleteEventArgs?)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(DeleteEventArgs? other)
Parameters
| Type |
Name |
Description |
| DeleteEventArgs |
other |
An object to compare with this object.
|
Returns
| Type |
Description |
| bool |
true if the current object is equal to the other parameter; otherwise, false.
|
View Source
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| int |
A hash code for the current object.
|
Operators
View Source
operator ==(DeleteEventArgs, DeleteEventArgs)
Declaration
public static bool operator ==(DeleteEventArgs left, DeleteEventArgs right)
Parameters
Returns
View Source
operator !=(DeleteEventArgs, DeleteEventArgs)
Declaration
public static bool operator !=(DeleteEventArgs left, DeleteEventArgs right)
Parameters
Returns