TransformerTypeCollection TransformerTypeCollection TransformerTypeCollection TransformerTypeCollection Class

Definition

Provides a read-only collection of WebPartTransformer objects.

public ref class TransformerTypeCollection sealed : System::Collections::ReadOnlyCollectionBase
public sealed class TransformerTypeCollection : System.Collections.ReadOnlyCollectionBase
type TransformerTypeCollection = class
    inherit ReadOnlyCollectionBase
Public NotInheritable Class TransformerTypeCollection
Inherits ReadOnlyCollectionBase
Inheritance
TransformerTypeCollectionTransformerTypeCollectionTransformerTypeCollectionTransformerTypeCollection

Remarks

The TransformerTypeCollection class represents a read-only collection of objects, typically used by ConnectionsZone and WebPartManager objects to manage sets of WebPartTransformer objects.

A WebPartManager control uses a TransformerTypeCollection collection to keep a list of available WebPartTransformer objects on a page, whereas a ConnectionsZone object uses a TransformerTypeCollection collection to track the available WebPartTransformer objects that it contains.

Although the TransformerTypeCollection collection is read-only, you can make programmatic changes to the properties of the underlying controls referenced in the collection.

Constructors

TransformerTypeCollection() TransformerTypeCollection() TransformerTypeCollection() TransformerTypeCollection()

Initializes a new instance of the TransformerTypeCollection class with no members in the collection.

TransformerTypeCollection(ICollection) TransformerTypeCollection(ICollection) TransformerTypeCollection(ICollection) TransformerTypeCollection(ICollection)

Initializes a new instance of the TransformerTypeCollection class containing the specified WebPartTransformer objects.

TransformerTypeCollection(TransformerTypeCollection, ICollection) TransformerTypeCollection(TransformerTypeCollection, ICollection) TransformerTypeCollection(TransformerTypeCollection, ICollection) TransformerTypeCollection(TransformerTypeCollection, ICollection)

Initializes a new instance of the TransformerTypeCollection class by combining an existing TransformerTypeCollection collection with the specified WebPartTransformer objects.

Fields

Empty Empty Empty Empty

Creates a collection for storing transformers.

Properties

Count Count Count Count

Gets the number of elements contained in the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized ICollection.IsSynchronized

Gets a value indicating whether access to a ReadOnlyCollectionBase object is synchronized (thread safe).

(Inherited from ReadOnlyCollectionBase)
ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot ICollection.SyncRoot

Gets an object that can be used to synchronize access to a ReadOnlyCollectionBase object.

(Inherited from ReadOnlyCollectionBase)
InnerList InnerList InnerList InnerList

Gets the list of elements contained in the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
Item[Int32] Item[Int32] Item[Int32] Item[Int32]

Gets a member of the collection based on its position in the collection.

Methods

Contains(Type) Contains(Type) Contains(Type) Contains(Type)

Returns a value indicating whether a particular transformer exists in the collection.

CopyTo(Type[], Int32) CopyTo(Type[], Int32) CopyTo(Type[], Int32) CopyTo(Type[], Int32)

Copies the collection to an array of WebPartTransformer objects.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns an enumerator that iterates through the ReadOnlyCollectionBase instance.

(Inherited from ReadOnlyCollectionBase)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
IndexOf(Type) IndexOf(Type) IndexOf(Type) IndexOf(Type)

Returns the position of a particular member in the collection.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32) ICollection.CopyTo(Array, Int32)

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

(Inherited from ReadOnlyCollectionBase)

Extension Methods

Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable) Cast<TResult>(IEnumerable)

Casts the elements of an IEnumerable to the specified type.

OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable) OfType<TResult>(IEnumerable)

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

AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable) AsParallel(IEnumerable)

Enables parallelization of a query.

AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable) AsQueryable(IEnumerable)

Converts an IEnumerable to an IQueryable.

Applies to