PropertyValueCollection Class

Definition

Encapsulates a collection of PropertyValue instances and is used for properties whose Type is a collection.

public ref class PropertyValueCollection abstract : System::Collections::Generic::IEnumerable<System::Activities::Presentation::PropertyEditing::PropertyValue ^>, System::Collections::Specialized::INotifyCollectionChanged
public abstract class PropertyValueCollection : System.Collections.Generic.IEnumerable<System.Activities.Presentation.PropertyEditing.PropertyValue>, System.Collections.Specialized.INotifyCollectionChanged
type PropertyValueCollection = class
    interface seq<PropertyValue>
    interface IEnumerable
    interface INotifyCollectionChanged
Public MustInherit Class PropertyValueCollection
Implements IEnumerable(Of PropertyValue), INotifyCollectionChanged
Inheritance
PropertyValueCollection
Implements

Constructors

PropertyValueCollection(PropertyValue)

Initializes a new instance of the PropertyValueCollection class as a sub-property to the specified parent PropertyValue.

Properties

Count

Gets the number of items in a collection of PropertyValue objects.

Item[Int32]

Returns a PropertyValue from a collection at the given index.

ParentValue

Gets the parent PropertyValue object that contains the collection.

Methods

Add(Object)

Adds an object into the collection of PropertyValue objects.

Equals(Object)

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

(Inherited from Object)
GetEnumerator()

Returns a strongly typed IEnumerator that iterates through the collection of PropertyValue objects.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Insert(Object, Int32)

Inserts a specified object at the specified index in a collection of PropertyValue objects.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnCollectionChanged(NotifyCollectionChangedEventArgs)

Raises the CollectionChanged event when items in the collection are added, removed, or resorted.

Remove(PropertyValue)

Removes the object from the collection of PropertyValue objects.

RemoveAt(Int32)

Removes the object from the collection of PropertyValue objects at the specified index.

SetIndex(Int32, Int32)

Recalculates the indexes in a collection of PropertyValue objects after an existing item is moved to a new position in the collection.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

CollectionChanged

Notifies listeners of dynamic changes to the collection, such as when items get added and removed or the whole list is refreshed.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Returns a strongly typed IEnumerator for a collection of PropertyValue objects.

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