ActivityDesignerVerbCollection Класс
Определение
Внимание!
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
Поддерживает коллекцию объектов класса ActivityDesignerVerb.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
- Наследование
- Атрибуты
Комментарии
Примечание
В этом материале обсуждаются устаревшие типы и пространства имен.This material discusses types and namespaces that are obsolete. Дополнительные сведения см. в статье о нерекомендуемых типах в Windows Workflow Foundation 4.5.For more information, see Deprecated Types in Windows Workflow Foundation 4.5.
Класс ActivityDesignerVerbCollection содержит команды, принадлежащие той же группе команд и обеспечивает последовательность их идентификаторов.The ActivityDesignerVerbCollection maintains verbs belonging to the same verb group and makes certain that their identifiers are consecutive.
Конструкторы
ActivityDesignerVerbCollection() |
Инициализирует экземпляр класса ActivityDesignerVerbCollection.Initializes an instance of an ActivityDesignerVerbCollection. |
ActivityDesignerVerbCollection(IEnumerable<ActivityDesignerVerb>) |
Инициализирует новый экземпляр класса ActivityDesignerVerbCollection, используя указанную универсальную коллекцию команд IEnumerable<T>.Initializes a new instance of the ActivityDesignerVerbCollection class by using the specified generic IEnumerable<T> collection of verbs. |
Свойства
Capacity |
Возвращает или задает число элементов, которое может содержать список CollectionBase.Gets or sets the number of elements that the CollectionBase can contain. (Унаследовано от CollectionBase) |
Count |
Возвращает количество элементов, содержащихся в экземпляре CollectionBase.Gets the number of elements contained in the CollectionBase instance. Это свойство нельзя переопределить.This property cannot be overridden. (Унаследовано от CollectionBase) |
InnerList |
Возвращает объект ArrayList, в котором хранится список элементов экземпляра класса CollectionBase.Gets an ArrayList containing the list of elements in the CollectionBase instance. (Унаследовано от CollectionBase) |
Item[Int32] |
Возвращает или задает объект DesignerVerb с заданным индексом.Gets or sets the DesignerVerb at the specified index. (Унаследовано от DesignerVerbCollection) |
List |
Возвращает объект IList, в котором хранится список элементов экземпляра класса CollectionBase.Gets an IList containing the list of elements in the CollectionBase instance. (Унаследовано от CollectionBase) |
Методы
Add(DesignerVerb) |
Добавляет указанный параметр DesignerVerb в коллекцию.Adds the specified DesignerVerb to the collection. (Унаследовано от DesignerVerbCollection) |
AddRange(DesignerVerb[]) |
Добавляет заданный набор команд конструктора в коллекцию.Adds the specified set of designer verbs to the collection. (Унаследовано от DesignerVerbCollection) |
AddRange(DesignerVerbCollection) |
Добавляет в коллекцию заданную коллекцию команд конструктора.Adds the specified collection of designer verbs to the collection. (Унаследовано от DesignerVerbCollection) |
Clear() |
Удаляет все объекты из экземпляра класса CollectionBase.Removes all objects from the CollectionBase instance. Этот метод не может быть переопределен.This method cannot be overridden. (Унаследовано от CollectionBase) |
Contains(DesignerVerb) |
Возвращает значение, определяющее, включен ли в коллекцию указанный объект DesignerVerb.Gets a value indicating whether the specified DesignerVerb exists in the collection. (Унаследовано от DesignerVerbCollection) |
CopyTo(DesignerVerb[], Int32) |
Копирует элементы коллекции в заданный массив объектов DesignerVerb, начиная с заданного индекса назначения.Copies the collection members to the specified DesignerVerb array beginning at the specified destination index. (Унаследовано от DesignerVerbCollection) |
Equals(Object) |
Определяет, равен ли указанный объект текущему объекту.Determines whether the specified object is equal to the current object. (Унаследовано от Object) |
GetEnumerator() |
Возвращает перечислитель, перебирающий элементы экземпляра класса CollectionBase.Returns an enumerator that iterates through the CollectionBase instance. (Унаследовано от CollectionBase) |
GetHashCode() |
Служит хэш-функцией по умолчанию.Serves as the default hash function. (Унаследовано от Object) |
GetType() |
Возвращает объект Type для текущего экземпляра.Gets the Type of the current instance. (Унаследовано от Object) |
IndexOf(DesignerVerb) |
Получает индекс заданного ограничения DesignerVerb.Gets the index of the specified DesignerVerb. (Унаследовано от DesignerVerbCollection) |
Insert(Int32, DesignerVerb) |
Вставляет заданный объект DesignerVerb по заданному индексу.Inserts the specified DesignerVerb at the specified index. (Унаследовано от DesignerVerbCollection) |
MemberwiseClone() |
Создает неполную копию текущего объекта Object.Creates a shallow copy of the current Object. (Унаследовано от Object) |
OnClear() |
Вызывает событие |
OnClearComplete() |
Осуществляет дополнительные пользовательские действия после удаления содержимого экземпляра класса CollectionBase.Performs additional custom processes after clearing the contents of the CollectionBase instance. (Унаследовано от CollectionBase) |
OnInsert(Int32, Object) |
Вызывает событие |
OnInsertComplete(Int32, Object) |
Выполняет дополнительные пользовательские действия после вставки нового элемента в экземпляр класса CollectionBase.Performs additional custom processes after inserting a new element into the CollectionBase instance. (Унаследовано от CollectionBase) |
OnRemove(Int32, Object) |
Вызывает событие |
OnRemoveComplete(Int32, Object) |
Осуществляет дополнительные пользовательские действия после удаления элемента из экземпляра класса CollectionBase.Performs additional custom processes after removing an element from the CollectionBase instance. (Унаследовано от CollectionBase) |
OnSet(Int32, Object, Object) |
Вызывает событие |
OnSetComplete(Int32, Object, Object) |
Выполняет дополнительные пользовательские действия после задания значения в экземпляре класса CollectionBase.Performs additional custom processes after setting a value in the CollectionBase instance. (Унаследовано от CollectionBase) |
OnValidate(Object) |
Вызывает событие |
Remove(DesignerVerb) |
Удаляет указанный объект DesignerVerb из коллекции.Removes the specified DesignerVerb from the collection. (Унаследовано от DesignerVerbCollection) |
RemoveAt(Int32) |
Удаляет элемент по указанному индексу в экземпляре класса CollectionBase.Removes the element at the specified index of the CollectionBase instance. Этот метод нельзя переопределить.This method is not overridable. (Унаследовано от CollectionBase) |
ToString() |
Возвращает строку, представляющую текущий объект.Returns a string that represents the current object. (Унаследовано от Object) |
Явные реализации интерфейса
ICollection.CopyTo(Array, Int32) |
Копирует целый массив CollectionBase в совместимый одномерный массив Array, начиная с заданного индекса целевого массива.Copies the entire CollectionBase to a compatible one-dimensional Array, starting at the specified index of the target array. (Унаследовано от CollectionBase) |
ICollection.IsSynchronized |
Возвращает значение, показывающее, является ли доступ к коллекции CollectionBase синхронизированным (потокобезопасным).Gets a value indicating whether access to the CollectionBase is synchronized (thread safe). (Унаследовано от CollectionBase) |
ICollection.SyncRoot |
Получает объект, с помощью которого можно синхронизировать доступ к коллекции CollectionBase.Gets an object that can be used to synchronize access to the CollectionBase. (Унаследовано от CollectionBase) |
IList.Add(Object) |
Добавляет объект в конец коллекции CollectionBase.Adds an object to the end of the CollectionBase. (Унаследовано от CollectionBase) |
IList.Contains(Object) |
Определяет, содержит ли интерфейс CollectionBase определенный элемент.Determines whether the CollectionBase contains a specific element. (Унаследовано от CollectionBase) |
IList.IndexOf(Object) |
Осуществляет поиск указанного объекта Object и возвращает отсчитываемый от нуля индекс первого вхождения в коллекцию CollectionBase.Searches for the specified Object and returns the zero-based index of the first occurrence within the entire CollectionBase. (Унаследовано от CollectionBase) |
IList.Insert(Int32, Object) |
Вставляет элемент в коллекцию CollectionBase по указанному индексу.Inserts an element into the CollectionBase at the specified index. (Унаследовано от CollectionBase) |
IList.IsFixedSize |
Получает значение, указывающее, имеет ли список CollectionBase фиксированный размер.Gets a value indicating whether the CollectionBase has a fixed size. (Унаследовано от CollectionBase) |
IList.IsReadOnly |
Получает значение, указывающее, является ли объект CollectionBase доступным только для чтения.Gets a value indicating whether the CollectionBase is read-only. (Унаследовано от CollectionBase) |
IList.Item[Int32] |
Возвращает или задает элемент по указанному индексу.Gets or sets the element at the specified index. (Унаследовано от CollectionBase) |
IList.Remove(Object) |
Удаляет первое вхождение указанного объекта из коллекции CollectionBase.Removes the first occurrence of a specific object from the CollectionBase. (Унаследовано от CollectionBase) |
Методы расширения
Cast<TResult>(IEnumerable) |
Приводит элементы объекта IEnumerable к заданному типу.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Выполняет фильтрацию элементов объекта IEnumerable по заданному типу.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Позволяет осуществлять параллельный запрос.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Преобразовывает коллекцию IEnumerable в объект IQueryable.Converts an IEnumerable to an IQueryable. |