ToolboxCategoryItems Class

Definition

A collection of ToolboxCategory objects. This class is sealed and so cannot be inherited.This class provides support for the categorization of toolbox items when re-hosting the Windows Workflow Designer outside of Visual Studio 2010.

public ref class ToolboxCategoryItems sealed : System::Collections::Generic::ICollection<System::Activities::Presentation::Toolbox::ToolboxCategory ^>, System::Collections::Generic::IEnumerable<System::Activities::Presentation::Toolbox::ToolboxCategory ^>, System::Collections::IList
public sealed class ToolboxCategoryItems : System.Collections.Generic.ICollection<System.Activities.Presentation.Toolbox.ToolboxCategory>, System.Collections.Generic.IEnumerable<System.Activities.Presentation.Toolbox.ToolboxCategory>, System.Collections.IList
type ToolboxCategoryItems = class
    interface ICollection<ToolboxCategory>
    interface seq<ToolboxCategory>
    interface IEnumerable
    interface IList
    interface ICollection
Public NotInheritable Class ToolboxCategoryItems
Implements ICollection(Of ToolboxCategory), IEnumerable(Of ToolboxCategory), IList
Inheritance
ToolboxCategoryItems
Implements

Constructors

ToolboxCategoryItems()

Creates an instance of the ToolboxCategoryItems class.

Properties

Count

Gets the number of tools contained in the ToolboxCategoryItems.

IsReadOnly

Gets a value that indicates whether the ToolboxCategoryItems is read-only.

Item[Int32]

Gets the toolbox category at the specified index.

Methods

Add(ToolboxCategory)

Adds a specified toolbox category to the end of the toolbox category items collection.

Clear()

Removes all the items from the ToolboxCategoryItems collection.

Contains(ToolboxCategory)

Determines whether the ToolboxCategoryItems collection contains a specific toolbox category item.

CopyTo(ToolboxCategory[], Int32)

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

Equals(Object)

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

(Inherited from Object)
GetEnumerator()

Returns an enumerator that iterates through the ToolboxCategoryItems collection.

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)
Remove(ToolboxCategory)

Removes the first occurrence of a specific toolbox category from the ToolboxCategoryItems.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32)

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

ICollection.Count

Gets the number of toolbox categories contained in the ToolboxCategoryItems collection.

ICollection.IsSynchronized

Gets a value that indicates whether access to the ToolboxCategoryItems is synchronized (thread safe).

ICollection.SyncRoot

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

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the ToolboxCategoryItems collection.

IList.Add(Object)

Adds a tool to the ToolboxCategoryItems.

IList.Clear()

Removes all the tools from the ToolboxCategoryItems.

IList.Contains(Object)

Determines whether the ToolboxCategoryItems contains a specific tool.

IList.IndexOf(Object)

Determines the index of a specific tool in the ToolboxCategoryItems.

IList.Insert(Int32, Object)

Inserts a toolbox category into the ToolboxCategoryItems collection at the specified index.

IList.IsFixedSize

Gets a value that indicates whether the ToolboxCategoryItems has a fixed size.

IList.IsReadOnly

Gets a value that indicates whether the ToolboxCategoryItems is read-only.

IList.Item[Int32]

Gets or sets the toolbox category at a specified index of the collection.

IList.Remove(Object)

Removes the first occurrence of a specific toolbox category from the ToolboxCategoryItems.

IList.RemoveAt(Int32)

Removes a toolbox category at the specified index of the ToolboxCategoryItems collection.

Extension Methods

CopyToDataTable<T>(IEnumerable<T>)

Returns a DataTable that contains copies of the DataRow objects, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

CopyToDataTable<T>(IEnumerable<T>, DataTable, LoadOption, FillErrorEventHandler)

Copies DataRow objects to the specified DataTable, given an input IEnumerable<T> object where the generic parameter T is DataRow.

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.

Ancestors<T>(IEnumerable<T>)

Returns a collection of elements that contains the ancestors of every node in the source collection.

Ancestors<T>(IEnumerable<T>, XName)

Returns a filtered collection of elements that contains the ancestors of every node in the source collection. Only elements that have a matching XName are included in the collection.

DescendantNodes<T>(IEnumerable<T>)

Returns a collection of the descendant nodes of every document and element in the source collection.

Descendants<T>(IEnumerable<T>)

Returns a collection of elements that contains the descendant elements of every element and document in the source collection.

Descendants<T>(IEnumerable<T>, XName)

Returns a filtered collection of elements that contains the descendant elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.

Elements<T>(IEnumerable<T>)

Returns a collection of the child elements of every element and document in the source collection.

Elements<T>(IEnumerable<T>, XName)

Returns a filtered collection of the child elements of every element and document in the source collection. Only elements that have a matching XName are included in the collection.

InDocumentOrder<T>(IEnumerable<T>)

Returns a collection of nodes that contains all nodes in the source collection, sorted in document order.

Nodes<T>(IEnumerable<T>)

Returns a collection of the child nodes of every document and element in the source collection.

Remove<T>(IEnumerable<T>)

Removes every node in the source collection from its parent node.

Applies to