ModelPropertyCollection Class

Represents a collection of properties.

Inheritance Hierarchy

System.Object
  Microsoft.Windows.Design.Model.ModelMemberCollection<ModelProperty, PropertyIdentifier>
    Microsoft.Windows.Design.Model.ModelPropertyCollection

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustInherit Class ModelPropertyCollection _
    Inherits ModelMemberCollection(Of ModelProperty, PropertyIdentifier)
public abstract class ModelPropertyCollection : ModelMemberCollection<ModelProperty, PropertyIdentifier>
public ref class ModelPropertyCollection abstract : public ModelMemberCollection<ModelProperty^, PropertyIdentifier>
[<AbstractClass>]
type ModelPropertyCollection =  
    class
        inherit ModelMemberCollection<ModelProperty, PropertyIdentifier>
    end
public abstract class ModelPropertyCollection extends ModelMemberCollection<ModelProperty, PropertyIdentifier>

The ModelPropertyCollection type exposes the following members.

Constructors

  Name Description
Protected method ModelPropertyCollection Initializes a new instance of the ModelPropertyCollection class.

Top

Properties

  Name Description
Public property Item[String] Searches the collection for an item with the specified key and returns it if it is found. (Inherited from ModelMemberCollection<TItemType, TKeyType>.)
Public property Item[TKeyType] Searches the collection for an item with the specified key and returns it if it is found. (Inherited from ModelMemberCollection<TItemType, TKeyType>.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Find(String) Searches the collection for an item with the specified key and returns it if it is found. (Inherited from ModelMemberCollection<TItemType, TKeyType>.)
Public method Find(TKeyType) Searches the collection for an item with the specified key and returns it if it is found. (Inherited from ModelMemberCollection<TItemType, TKeyType>.)
Protected method Find(String, Boolean) When overridden in a derived class, searches the collection for an item with the specified key and returns it if it is found. (Inherited from ModelMemberCollection<TItemType, TKeyType>.)
Protected method Find(TKeyType, Boolean) When overridden in a derived class, searches the collection for an item with the specified key and returns it if it is found. (Inherited from ModelMemberCollection<TItemType, TKeyType>.)
Public method GetEnumerator When overridden in a derived class, returns an enumerator to enumerate items. (Inherited from ModelMemberCollection<TItemType, TKeyType>.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Infrastructure. For a description of this member, see IEnumerable.GetEnumerator. (Inherited from ModelMemberCollection<TItemType, TKeyType>.)

Top

Remarks

The ModelPropertyCollection class defines an enumerator and a variety of search mechanisms.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility