Search Results for

    Show / Hide Table of Contents
    View Source

    Class DeleteEventArgs

    Inheritance
    object
    EventArgs
    CancellableEventArgs
    Namespace: Umbraco.Cms.Core.Events
    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
    public int Id { get; }
    Property Value
    Type Description
    int

    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
    Type Name Description
    DeleteEventArgs left
    DeleteEventArgs right
    Returns
    Type Description
    bool
    View Source

    operator !=(DeleteEventArgs, DeleteEventArgs)

    Declaration
    public static bool operator !=(DeleteEventArgs left, DeleteEventArgs right)
    Parameters
    Type Name Description
    DeleteEventArgs left
    DeleteEventArgs right
    Returns
    Type Description
    bool
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX