Bewerken

Share via


ActivityCollectionChangeEventArgs Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Represents the information needed by an event handler to perform custom processing whenever the contents of an ActivityCollection changes.

public ref class ActivityCollectionChangeEventArgs sealed : EventArgs
public sealed class ActivityCollectionChangeEventArgs : EventArgs
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ActivityCollectionChangeEventArgs : EventArgs
type ActivityCollectionChangeEventArgs = class
    inherit EventArgs
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityCollectionChangeEventArgs = class
    inherit EventArgs
Public NotInheritable Class ActivityCollectionChangeEventArgs
Inherits EventArgs
Inheritance
ActivityCollectionChangeEventArgs
Attributes

Remarks

Note

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

For more information about how to handle events, see Handling and Raising Events.

Constructors

ActivityCollectionChangeEventArgs(Int32, Activity, Activity, Object, ActivityCollectionChangeAction)

Initializes a new instance of the ActivityCollectionChangeEventArgs class.

ActivityCollectionChangeEventArgs(Int32, ICollection<Activity>, ICollection<Activity>, Object, ActivityCollectionChangeAction)

Initializes a new instance of the ActivityCollectionChangeEventArgs class.

Properties

Action

Gets the ActivityCollectionChangeAction representing the type of change that occurred.

AddedItems

Gets a strongly typed ICollection of type Activity containing each added Activity.

Index

Gets the index of the change originating the event.

Owner

Gets the Object which originated the event.

RemovedItems

Gets a strongly typed ICollection of type Activity containing each removed Activity.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to