Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

NamedComponentCollection Methods

The NamedComponentCollection type exposes the following members.

  Name Description
Protected method Add(ModelComponent) Infrastructure. Adds a ModelComponent object to the NamedComponentCollection. (Overrides ModelComponentCollection.Add(ModelComponent).)
Protected method Add(String, IModelComponent) Infrastructure. Adds a IModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected method Add(ModelComponent, Boolean) Infrastructure. Adds a ModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected method Add(String, IModelComponent, Boolean) Infrastructure. Adds a IModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected method AddNew(String, Type) Infrastructure. Adds a new IModelComponent to the collection. (Inherited from ModelComponentCollection.)
Protected method AddNew(String, String, Type) Infrastructure. Adds a new IModelComponent to the collection. (Inherited from ModelComponentCollection.)
Public method CanAdd Infrastructure. Indicates whether the collection can add a ModelComponent. (Overrides ModelComponentCollection.CanAdd(ModelComponent, String).)
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) Determines whether an item with the specific key is in the NamedComponentCollection.
Protected method Contains(IModelComponent) Determines whether the specified item is in the collection. (Inherited from ModelComponentCollection.)
Public method ContainsName Indicates whether the component contains its name.
Public method CopyTo Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Inherited from ModelComponentCollection.)
Protected method EnsureLoaded Infrastructure. Ensures the collection is loaded. (Inherited from ModelComponentCollection.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that can iterate through the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public method GetHashCode (Inherited from Object.)
Protected method GetItem Gets a reference to the specified component. (Inherited from ModelComponentCollection.)
Public method GetNewID() Gets a new unique ID for the component.
Public method GetNewID(String) Gets the value for the new unique ID.
Public method GetNewName() Gets a unique new name for the component.
Public method GetNewName(String) Gets a unique new name for the component with the specified name prefix.
Public method GetType (Inherited from Object.)
Public method IndexOf(String) Reports the index of the first occurrence of the component.
Protected method IndexOf(IModelComponent) Searches for the specified item and returns its zero-based index within the collection. (Inherited from ModelComponentCollection.)
Public method IndexOfName Gets the index of the NamedComponent, identified by name, in the collection.
Protected method Insert(Int32, ModelComponent) Infrastructure. Inserts a ModelComponent in the NamedComponentCollection. (Overrides ModelComponentCollection.Insert(Int32, ModelComponent).)
Protected method Insert(IModelComponent, String, Int32) Infrastructure. Inserts an IModelComponent in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected method Insert(IModelComponent, String, Int32, Boolean) Infrastructure. Inserts an IModelComponent in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public method IsValidID(String) Determines whether the named component collection identifier is valid.
Public method IsValidID(String, String) Determines whether the named component collection identifier is valid.
Protected method IsValidID(String, Type, String) Infrastructure. Determines whether the named component collection identifier is valid.
Public method IsValidName(String) Determines whether the named component collection name is valid.
Public method IsValidName(String, String) Determines whether the named component collection name is valid.
Protected method IsValidName(String, Type, String) Infrastructure. Determines whether the named component collection name is valid.
Protected method IsValidName(String, Type, ModelType, Int32, String)
Protected method MemberwiseClone (Inherited from Object.)
Protected method Remove Removes the specified IModelComponent from the collection. (Inherited from ModelComponentCollection.)
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 IList.Add Adds an item to the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IList.Clear Removes all items from the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IList.Contains Indicates whether the collection contains a specific value. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IList.IndexOf Determines the index of a specific item in the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IList.Insert Inserts an item to the collection at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IList.Remove Removes the first occurrence of a specified object from the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetation Private method IList.RemoveAt 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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.