Класс RelationshipEndAttributeCollection
Represents a dynamic collection of attributes on relationship end objects, into which items can be added, removed and inserted.
Иерархия наследования
System.Object
Microsoft.AnalysisServices.ModelComponentCollection
Microsoft.AnalysisServices.RelationshipEndAttributeCollection
Пространство имен: Microsoft.AnalysisServices
Сборка: Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)
Синтаксис
'Декларация
Public NotInheritable Class RelationshipEndAttributeCollection _
Inherits ModelComponentCollection
'Применение
Dim instance As RelationshipEndAttributeCollection
public sealed class RelationshipEndAttributeCollection : ModelComponentCollection
public ref class RelationshipEndAttributeCollection sealed : public ModelComponentCollection
[<SealedAttribute>]
type RelationshipEndAttributeCollection =
class
inherit ModelComponentCollection
end
public final class RelationshipEndAttributeCollection extends ModelComponentCollection
Тип RelationshipEndAttributeCollection обеспечивает доступ к следующим элементам.
Свойства
Имя | Описание | |
---|---|---|
Count | Gets the number of ModelComponent objects in the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
IsFixedSize | Gets a value indicating whether the ModelComponentCollection has a fixed size. (Производный от ModelComponentCollection.) | |
IsReadOnly | Gets a value indicating whether the ModelComponentCollection is read-only. (Производный от ModelComponentCollection.) | |
IsSynchronized | Gets a value indicating whether access to the ModelComponentCollection is synchronized (thread-safe). (Производный от ModelComponentCollection.) | |
Item[Int32] | Gets the RelationshipEndAttribute at the specified zero-based index. | |
Item[String] | Gets the RelationshipEndAttribute with the specified AttributeID. | |
Parent | Gets the IModelComponent that contains the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
SyncRoot | Gets an object that can be used to synchronize access to the ModelComponentCollection. (Производный от ModelComponentCollection.) |
В начало
Методы
Имя | Описание | |
---|---|---|
Add(String) | Adds a value with the specified attribute id. | |
Add(ModelComponent) | Инфраструктура. Adds a ModelComponent object to the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
Add(RelationshipEndAttribute) | Adds a value for the specified item in the collection. | |
Add(ModelComponent, Boolean) | Инфраструктура. Adds a ModelComponent object to the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
CanAdd | Инфраструктура. Indicates whether the collection can add a ModelComponent. (Производный от ModelComponentCollection.) | |
ChangeKey | Инфраструктура. Changes the specified keys to the collection. (Производный от ModelComponentCollection.) | |
Clear | Removes all elements from the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
Contains(String) | Returns a value indicating whether the specified String object occurs within the string that represents the attribute collection. | |
Contains(RelationshipEndAttribute) | Returns a value indicating whether the specified String object occurs within this string. | |
CopyTo | Copies the entire ModelComponentCollection to a one-dimensional Array, starting at the specified index of the target array. (Производный от ModelComponentCollection.) | |
Equals | (Производный от Object.) | |
Find | Locates and returns an attribute object in the collection. | |
GetEnumerator | Returns an enumerator that can iterate through the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
GetHashCode | (Производный от Object.) | |
GetType | (Производный от Object.) | |
IndexOf(String) | Reports the index of the first occurrence of the specified string in this instance. | |
IndexOf(RelationshipEndAttribute) | Reports the index of the first occurrence of the specified string in this instance. | |
Insert(Int32, ModelComponent) | Инфраструктура. Inserts an ModelComponent in the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
Insert(Int32, RelationshipEndAttribute) | Inserts a specified instance of String at a specified index position in this instance with the specified index and item value. | |
Insert(Int32, String) | Inserts a specified string at the specified index position in the attribute collection with the specified index and attribute id. | |
Move(Int32, Int32) | Moves the item at the specified index to a new location in the collection. | |
Move(String, Int32) | Moves the item at the specified index to a new location in the collection with the specified attribute id. | |
Move(RelationshipEndAttribute, Int32) | Moves the item at the specified index to a new location in the collection. | |
Remove(String) | Removes the object with the specified attribute id from a collection. | |
Remove(IModelComponent) | Removes the specified IModelComponent from the collection. (Производный от ModelComponentCollection.) | |
Remove(RelationshipEndAttribute) | Removes the attribute object with the specified attribute id from a collection. | |
Remove(String, Boolean) | Removes the specified object in the collection with the attribute id. | |
Remove(RelationshipEndAttribute, Boolean) | Removes the specified object in the collection. | |
RemoveAt(Int32) | Removes the IModelComponent at the specified index from the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
RemoveAt(Int32, Boolean) | Инфраструктура. Removes the IModelComponent at the specified index from the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
ToString | (Производный от Object.) |
В начало
События
Имя | Описание | |
---|---|---|
CollectionChanged | Инфраструктура. Occurs when the collection changes. (Производный от ModelComponentCollection.) | |
CollectionChanging | Инфраструктура. Occurs when the collection is changing. (Производный от ModelComponentCollection.) |
В начало
Явные реализации интерфейса
Имя | Описание | |
---|---|---|
IList.Add | Adds an item to the collection. (Производный от ModelComponentCollection.) | |
IList.Clear | Removes all items from the collection. (Производный от ModelComponentCollection.) | |
IList.Contains | Indicates whether the collection contains a specific value. (Производный от ModelComponentCollection.) | |
IList.IndexOf | Determines the index of a specific item in the collection. (Производный от ModelComponentCollection.) | |
IList.Insert | Inserts an item to the collection at the specified index. (Производный от ModelComponentCollection.) | |
IList.Item | Gets or sets the element at the specified index. (Производный от ModelComponentCollection.) | |
IList.Remove | Removes the first occurrence of a specified object from the collection. (Производный от ModelComponentCollection.) | |
IList.RemoveAt | Removes the item at the specified index. (Производный от ModelComponentCollection.) | |
IModelComponentCollection.Contains | Indicates whether the collection contains a specific value. (Производный от ModelComponentCollection.) | |
IModelComponentCollection.Remove(IModelComponent) | Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
IModelComponentCollection.Remove(IModelComponent, Boolean) | Removes the first occurrence of a specific IModelComponent from the ModelComponentCollection. (Производный от ModelComponentCollection.) | |
IOnDemandLoadableCollection.BlockOnDemandLoad | Specifies the blocked demand load. (Производный от ModelComponentCollection.) | |
IOnDemandLoadableCollection.Loaded | Gets or sets a value that indicates whether the collection is loaded. (Производный от ModelComponentCollection.) |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.