แก้ไข

แชร์ผ่าน


ActivityDesignerVerbCollection Class

Definition

Caution

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

Maintains a collection of ActivityDesignerVerb objects.

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

Remarks

Note

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

The ActivityDesignerVerbCollection maintains verbs belonging to the same verb group and makes certain that their identifiers are consecutive.

Constructors

ActivityDesignerVerbCollection()

Initializes an instance of an ActivityDesignerVerbCollection.

ActivityDesignerVerbCollection(IEnumerable<ActivityDesignerVerb>)

Initializes a new instance of the ActivityDesignerVerbCollection class by using the specified generic IEnumerable<T> collection of verbs.

Properties

Capacity

Gets or sets the number of elements that the CollectionBase can contain.

(Inherited from CollectionBase)
Count

Gets the number of elements contained in the CollectionBase instance. This property cannot be overridden.

(Inherited from CollectionBase)
InnerList

Gets an ArrayList containing the list of elements in the CollectionBase instance.

(Inherited from CollectionBase)
Item[Int32]

Gets or sets the DesignerVerb at the specified index.

(Inherited from DesignerVerbCollection)
List

Gets an IList containing the list of elements in the CollectionBase instance.

(Inherited from CollectionBase)

Methods

Add(DesignerVerb)

Adds the specified DesignerVerb to the collection.

(Inherited from DesignerVerbCollection)
AddRange(DesignerVerb[])

Adds the specified set of designer verbs to the collection.

(Inherited from DesignerVerbCollection)
AddRange(DesignerVerbCollection)

Adds the specified collection of designer verbs to the collection.

(Inherited from DesignerVerbCollection)
Clear()

Removes all objects from the CollectionBase instance. This method cannot be overridden.

(Inherited from CollectionBase)
Contains(DesignerVerb)

Gets a value indicating whether the specified DesignerVerb exists in the collection.

(Inherited from DesignerVerbCollection)
CopyTo(DesignerVerb[], Int32)

Copies the collection members to the specified DesignerVerb array beginning at the specified destination index.

(Inherited from DesignerVerbCollection)
Equals(Object)

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

(Inherited from Object)
GetEnumerator()

Returns an enumerator that iterates through the CollectionBase instance.

(Inherited from CollectionBase)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
IndexOf(DesignerVerb)

Gets the index of the specified DesignerVerb.

(Inherited from DesignerVerbCollection)
Insert(Int32, DesignerVerb)

Inserts the specified DesignerVerb at the specified index.

(Inherited from DesignerVerbCollection)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnClear()

Raises the Clear event.

(Inherited from DesignerVerbCollection)
OnClearComplete()

Performs additional custom processes after clearing the contents of the CollectionBase instance.

(Inherited from CollectionBase)
OnInsert(Int32, Object)

Raises the Insert event.

(Inherited from DesignerVerbCollection)
OnInsertComplete(Int32, Object)

Performs additional custom processes after inserting a new element into the CollectionBase instance.

(Inherited from CollectionBase)
OnRemove(Int32, Object)

Raises the Remove event.

(Inherited from DesignerVerbCollection)
OnRemoveComplete(Int32, Object)

Performs additional custom processes after removing an element from the CollectionBase instance.

(Inherited from CollectionBase)
OnSet(Int32, Object, Object)

Raises the Set event.

(Inherited from DesignerVerbCollection)
OnSetComplete(Int32, Object, Object)

Performs additional custom processes after setting a value in the CollectionBase instance.

(Inherited from CollectionBase)
OnValidate(Object)

Raises the Validate event.

(Inherited from DesignerVerbCollection)
Remove(DesignerVerb)

Removes the specified DesignerVerb from the collection.

(Inherited from DesignerVerbCollection)
RemoveAt(Int32)

Removes the element at the specified index of the CollectionBase instance. This method is not overridable.

(Inherited from CollectionBase)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

Copies the entire CollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array.

(Inherited from CollectionBase)
ICollection.IsSynchronized

Gets a value indicating whether access to the CollectionBase is synchronized (thread safe).

(Inherited from CollectionBase)
ICollection.SyncRoot

Gets an object that can be used to synchronize access to the CollectionBase.

(Inherited from CollectionBase)
IList.Add(Object)

Adds an object to the end of the CollectionBase.

(Inherited from CollectionBase)
IList.Contains(Object)

Determines whether the CollectionBase contains a specific element.

(Inherited from CollectionBase)
IList.IndexOf(Object)

Searches for the specified Object and returns the zero-based index of the first occurrence within the entire CollectionBase.

(Inherited from CollectionBase)
IList.Insert(Int32, Object)

Inserts an element into the CollectionBase at the specified index.

(Inherited from CollectionBase)
IList.IsFixedSize

Gets a value indicating whether the CollectionBase has a fixed size.

(Inherited from CollectionBase)
IList.IsReadOnly

Gets a value indicating whether the CollectionBase is read-only.

(Inherited from CollectionBase)
IList.Item[Int32]

Gets or sets the element at the specified index.

(Inherited from CollectionBase)
IList.Remove(Object)

Removes the first occurrence of a specific object from the CollectionBase.

(Inherited from CollectionBase)

Extension Methods

Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable)

Filters the elements of an IEnumerable based on a specified type.

AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to