Export (0) Print
Expand All

HierarchyCollection Methods

The HierarchyCollection type exposes the following members.

  Name Description
Public method Add() Creates and adds a Hierarchy to the end of the collection.
Public method Add(String) Creates and adds a Hierarchy, with the specified identifier, to the end of the collection.
Public method Add(Hierarchy) Adds a Hierarchy to the end of the collection.
Protected method Add(ModelComponent) Infrastructure. Adds a ModelComponent object to the NamedComponentCollection. (Inherited from NamedComponentCollection.)
Public method Add(String, Boolean) Creates and adds a Hierarchy, with the specified name, to the end of the collection.
Public method Add(String, String) Creates and adds a Hierarchy, with the specified name and identifier, to the end of the collection.
Protected method Add(ModelComponent, Boolean) Infrastructure. Adds a ModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public method CanAdd Infrastructure. Indicates whether the collection can add a ModelComponent. (Inherited from NamedComponentCollection.)
Protected method ChangeKey Infrastructure. Changes the specified keys to the collection. (Inherited from ModelComponentCollection.)
Public method Clear Removes all elements from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public method Contains(String) Indicates whether the collection contains a Hierarchy with the specified identifier.
Public method Contains(Hierarchy) Indicates whether the collection contains a specified Hierarchy.
Public method ContainsName Indicates whether the component contains its name. (Inherited from NamedComponentCollection.)
Public method CopyTo Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Inherited from ModelComponentCollection.)
Public method Equals (Inherited from Object.)
Public method Find Gets the Hierarchy, with the specified identifier, from the collection.
Public method FindByName Gets the Hierarchy, with the specified name, from the collection.
Public method GetByName Gets the Hierarchy, with the specified name, from the collection.
Public method GetEnumerator Returns an enumerator that can iterate through the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public method GetHashCode (Inherited from Object.)
Public method GetNewID() Gets a new unique ID for the component. (Inherited from NamedComponentCollection.)
Public method GetNewID(String) Gets the value for the new unique ID. (Inherited from NamedComponentCollection.)
Public method GetNewName() Gets a unique new name for the component. (Inherited from NamedComponentCollection.)
Public method GetNewName(String) Gets a unique new name for the component with the specified name prefix. (Inherited from NamedComponentCollection.)
Public method GetType (Inherited from Object.)
Public method IndexOf(String) Gets the index of a Hierarchy with the specified identifier.
Public method IndexOf(Hierarchy) Gets the index of a specified Hierarchy.
Public method IndexOfName Gets the index of the NamedComponent, identified by name, in the collection. (Inherited from NamedComponentCollection.)
Public method Insert(Int32) Creates and inserts a Hierarchy into the collection at the specified index.
Public method Insert(Int32, Hierarchy) Inserts a Hierarchy into the collection at the specified index.
Public method Insert(Int32, String) Creates and inserts a Hierarchy, with the specified identifier, into the collection at the specified index.
Protected method Insert(Int32, ModelComponent) Infrastructure. Inserts a ModelComponent in the NamedComponentCollection. (Inherited from NamedComponentCollection.)
Public method Insert(Int32, String, String) Creates and inserts a Hierarchy, with the specified name and identifier, into the collection at the specified index.
Public method IsValidID(String) Determines whether the named component collection identifier is valid. (Inherited from NamedComponentCollection.)
Public method IsValidID(String, String) Indicates whether the identifier of the collection is valid. (Overrides NamedComponentCollection.IsValidID(String, String).)
Public method IsValidName(String) Determines whether the named component collection name is valid. (Inherited from NamedComponentCollection.)
Public method IsValidName(String, String) Indicates whether the name of the collection is valid. (Overrides NamedComponentCollection.IsValidName(String, String).)
Protected method IsValidName(String, Type, ModelType, Int32, String) (Inherited from NamedComponentCollection.)
Public method Move(Int32, Int32) Moves a Hierarchy at the current specified index to a new specified index in the collection.
Public method Move(String, Int32) Moves a Hierarchy, with the specified identifier, to the specified index in the collection.
Public method Move(Hierarchy, Int32) Moves a Hierarchy to a new index in the collection.
Public method Remove(String) Removes the Hierarchy, with the specified identifier, from the collection.
Public method Remove(Hierarchy) Removes the specified Hierarchy from the collection.
Protected method Remove(IModelComponent) Removes the specified IModelComponent from the collection. (Inherited from ModelComponentCollection.)
Public method Remove(String, Boolean) Infrastructure. Removes a Hierarchy from this collection.
Public method Remove(Hierarchy, Boolean) Infrastructure. Removes the specified Hierarchy from this collection.
Public method RemoveAt(Int32) Removes the IModelComponent at the specified index from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public method RemoveAt(Int32, Boolean) Infrastructure. Removes the IModelComponent at the specified index from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public method ToString (Inherited from Object.)
Top

  Name Description
Explicit interface implemetation Private method IListAdd Adds an item to the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IListClear Removes all items from the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IListContains Indicates whether the collection contains a specific value. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IListIndexOf Determines the index of a specific item in the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IListInsert Inserts an item to the collection at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IListRemove Removes the first occurrence of a specified object from the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IListRemoveAt Removes the item at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IModelComponentCollection.Contains Indicates whether the collection contains a specific value. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IModelComponentCollection.Remove(IModelComponent) Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IModelComponentCollection.Remove(IModelComponent, Boolean) Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IOnDemandLoadableCollection.BlockOnDemandLoad Specifies the blocked demand load. (Inherited from ModelComponentCollection.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft