Export (0) Print
Expand All

NamedComponentCollection Class

Contains a collection of INamedComponent objects.

Object
  Microsoft.AnalysisServices.ModelComponentCollection
    Microsoft.AnalysisServices.NamedComponentCollection
      More...

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

[GuidAttribute("4CF930A2-FED5-48c0-AC50-DD4FBDA3E6A8")]
public abstract class NamedComponentCollection : ModelComponentCollection, 
	INamedComponentCollection, IModelComponentCollection, ICollection, IEnumerable

The NamedComponentCollection type exposes the following members.

  NameDescription
Protected methodNamedComponentCollectionInfrastructure. Initializes a new instance of the NamedComponentCollection class.
Top

  NameDescription
Public propertyCountGets the number of ModelComponent objects in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected propertyDemandLoadingServiceInfrastructure. Gets the demand loading service for the collection. (Inherited from ModelComponentCollection.)
Public propertyIsFixedSizeGets a value indicating whether the ModelComponentCollection has a fixed size. (Inherited from ModelComponentCollection.)
Public propertyIsReadOnlyGets a value indicating whether the ModelComponentCollection is read-only. (Inherited from ModelComponentCollection.)
Public propertyIsSynchronizedGets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (Inherited from ModelComponentCollection.)
Protected propertyItemGets the IModelComponent at the specified index. (Inherited from ModelComponentCollection.)
Protected propertyItemsTypeGets the Type of objects that can be contained by the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public propertyParentGets the IModelComponent that contains the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected propertyPreloadableInfrastructure. Gets a value indicating whether the collection can be preloaded. (Inherited from ModelComponentCollection.)
Public propertySyncRootGets an object that can be used to synchronize access to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Top

  NameDescription
Protected methodAdd(ModelComponent)Infrastructure. Adds a ModelComponent object to the NamedComponentCollection. (Overrides ModelComponentCollection.Add(ModelComponent).)
Protected methodAdd(String, IModelComponent)Infrastructure. Adds a IModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected methodAdd(ModelComponent, Boolean)Infrastructure. Adds a ModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected methodAdd(String, IModelComponent, Boolean)Infrastructure. Adds a IModelComponent object to the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected methodAddNew(String, Type)Infrastructure. Adds a new IModelComponent to the collection. (Inherited from ModelComponentCollection.)
Protected methodAddNew(String, String, Type)Infrastructure. Adds a new IModelComponent to the collection. (Inherited from ModelComponentCollection.)
Public methodCanAddInfrastructure. Indicates whether the collection can add a ModelComponent. (Overrides ModelComponentCollection.CanAdd(ModelComponent, String).)
Protected methodChangeKeyInfrastructure. Changes the specified keys to the collection. (Inherited from ModelComponentCollection.)
Public methodClearRemoves all elements from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodContains(String)Determines whether an item with the specific key is in the NamedComponentCollection.
Protected methodContains(IModelComponent)Determines whether the specified item is in the collection. (Inherited from ModelComponentCollection.)
Public methodContainsNameIndicates whether the component contains its name.
Public methodCopyToCopies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Inherited from ModelComponentCollection.)
Protected methodEnsureLoadedInfrastructure. Ensures the collection is loaded. (Inherited from ModelComponentCollection.)
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumeratorReturns an enumerator that can iterate through the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodGetHashCode (Inherited from Object.)
Protected methodGetItemGets a reference to the specified component. (Inherited from ModelComponentCollection.)
Public methodGetNewID()Gets a new unique ID for the component.
Public methodGetNewID(String)Gets the value for the new unique ID.
Public methodGetNewName()Gets a unique new name for the component.
Public methodGetNewName(String)Gets a unique new name for the component with the specified name prefix.
Public methodGetType (Inherited from Object.)
Public methodIndexOf(String)Reports the index of the first occurrence of the component.
Protected methodIndexOf(IModelComponent)Searches for the specified item and returns its zero-based index within the collection. (Inherited from ModelComponentCollection.)
Public methodIndexOfNameGets the index of the NamedComponent, identified by name, in the collection.
Protected methodInsert(Int32, ModelComponent)Infrastructure. Inserts a ModelComponent in the NamedComponentCollection. (Overrides ModelComponentCollection.Insert(Int32, ModelComponent).)
Protected methodInsert(IModelComponent, String, Int32)Infrastructure. Inserts an IModelComponent in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Protected methodInsert(IModelComponent, String, Int32, Boolean)Infrastructure. Inserts an IModelComponent in the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodIsValidID(String)Determines whether the named component collection identifier is valid.
Public methodIsValidID(String, String)Determines whether the named component collection identifier is valid.
Protected methodIsValidID(String, Type, String)Infrastructure. Determines whether the named component collection identifier is valid.
Public methodIsValidName(String)Determines whether the named component collection name is valid.
Public methodIsValidName(String, String)Determines whether the named component collection name is valid.
Protected methodIsValidName(String, Type, String)Infrastructure. Determines whether the named component collection name is valid.
Protected methodIsValidName(String, Type, ModelType, Int32, String)
Protected methodMemberwiseClone (Inherited from Object.)
Protected methodRemoveRemoves the specified IModelComponent from the collection. (Inherited from ModelComponentCollection.)
Public methodRemoveAt(Int32)Removes the IModelComponent at the specified index from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodRemoveAt(Int32, Boolean)Infrastructure. Removes the IModelComponent at the specified index from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Public methodToString (Inherited from Object.)
Top

  NameDescription
Public eventCollectionChangedInfrastructure. Occurs when the collection changes. (Inherited from ModelComponentCollection.)
Public eventCollectionChangingInfrastructure. Occurs when the collection is changing. (Inherited from ModelComponentCollection.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIListAddAdds an item to the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIListClearRemoves all items from the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIListContainsIndicates whether the collection contains a specific value. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIListIndexOfDetermines the index of a specific item in the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIListInsertInserts an item to the collection at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate propertyIListItemGets or sets the element at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIListRemoveRemoves the first occurrence of a specified object from the collection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIListRemoveAtRemoves the item at the specified index. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIModelComponentCollection.ContainsIndicates whether the collection contains a specific value. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIModelComponentCollection.Remove(IModelComponent)Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIModelComponentCollection.Remove(IModelComponent, Boolean)Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate methodIOnDemandLoadableCollection.BlockOnDemandLoadSpecifies the blocked demand load. (Inherited from ModelComponentCollection.)
Explicit interface implemetationPrivate propertyIOnDemandLoadableCollection.LoadedGets or sets a value that indicates whether the collection is loaded. (Inherited from ModelComponentCollection.)
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft