Search Results for

    Show / Hide Table of Contents
    View Source

    Class DeleteEventArgs

    Inheritance
    System.Object
    CancellableEventArgs
    Namespace: Umbraco.Cms.Core.Events
    Assembly: Umbraco.Core.dll
    Syntax
    public class DeleteEventArgs : CancellableEventArgs

    Constructors

    View Source

    DeleteEventArgs(Int32)

    Declaration
    public DeleteEventArgs(int id)
    Parameters
    Type Name Description
    System.Int32 id
    View Source

    DeleteEventArgs(Int32, Boolean)

    Declaration
    public DeleteEventArgs(int id, bool canCancel)
    Parameters
    Type Name Description
    System.Int32 id
    System.Boolean canCancel
    View Source

    DeleteEventArgs(Int32, Boolean, EventMessages)

    Declaration
    public DeleteEventArgs(int id, bool canCancel, EventMessages eventMessages)
    Parameters
    Type Name Description
    System.Int32 id
    System.Boolean canCancel
    EventMessages eventMessages

    Properties

    View Source

    Id

    Gets the Id of the object being deleted.

    Declaration
    public int Id { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    View Source

    Equals(DeleteEventArgs)

    Declaration
    public bool Equals(DeleteEventArgs other)
    Parameters
    Type Name Description
    DeleteEventArgs other
    Returns
    Type Description
    System.Boolean
    View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Operators

    View Source

    Equality(DeleteEventArgs, DeleteEventArgs)

    Declaration
    public static bool operator ==(DeleteEventArgs left, DeleteEventArgs right)
    Parameters
    Type Name Description
    DeleteEventArgs left
    DeleteEventArgs right
    Returns
    Type Description
    System.Boolean
    View Source

    Inequality(DeleteEventArgs, DeleteEventArgs)

    Declaration
    public static bool operator !=(DeleteEventArgs left, DeleteEventArgs right)
    Parameters
    Type Name Description
    DeleteEventArgs left
    DeleteEventArgs right
    Returns
    Type Description
    System.Boolean
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • DeleteEventArgs(Int32)
      • DeleteEventArgs(Int32, Boolean)
      • DeleteEventArgs(Int32, Boolean, EventMessages)
    • Properties
      • Id
    • Methods
      • Equals(Object)
      • Equals(DeleteEventArgs)
      • GetHashCode()
    • Operators
      • Equality(DeleteEventArgs, DeleteEventArgs)
      • Inequality(DeleteEventArgs, DeleteEventArgs)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX