Класс AdomdPropertyCollection
Represents a collection of AdomdProperty objects contained in an AdomdCommand.
Иерархия наследования
System.Object
System.MarshalByRefObject
Microsoft.AnalysisServices.AdomdClient.AdomdPropertyCollection
Пространство имен: Microsoft.AnalysisServices.AdomdClient
Сборка: Microsoft.AnalysisServices.AdomdClient (в Microsoft.AnalysisServices.AdomdClient.dll)
Синтаксис
'Декларация
Public NotInheritable Class AdomdPropertyCollection _
Inherits MarshalByRefObject _
Implements IList, ICollection, IEnumerable
'Применение
Dim instance As AdomdPropertyCollection
public sealed class AdomdPropertyCollection : MarshalByRefObject,
IList, ICollection, IEnumerable
public ref class AdomdPropertyCollection sealed : public MarshalByRefObject,
IList, ICollection, IEnumerable
[<SealedAttribute>]
type AdomdPropertyCollection =
class
inherit MarshalByRefObject
interface IList
interface ICollection
interface IEnumerable
end
public final class AdomdPropertyCollection extends MarshalByRefObject implements IList, ICollection, IEnumerable
Тип AdomdPropertyCollection обеспечивает доступ к следующим элементам.
Свойства
Имя | Описание | |
---|---|---|
Count | Gets the number of AdomdProperty objects in the AdomdPropertyCollection. | |
IsFixedSize | Gets a value indicating whether the AdomdPropertyCollection has a fixed size. | |
IsReadOnly | Gets a value indicating whether the AdomdPropertyCollection is read-only. | |
IsSynchronized | Gets a value indicating whether access to the AdomdPropertyCollection is synchronized (thread safe). | |
Item | Gets or sets the specified AdomdProperty from the AdomdPropertyCollection by its index. In Microsoft Visual C#, this property is the indexer for the AdomdPropertyCollection class. | |
SyncRoot | Gets an object that can be used to synchronize access to the AdomdPropertyCollection. |
В начало
Методы
Имя | Описание | |
---|---|---|
Add(AdomdProperty) | Adds an AdomdProperty to the AdomdPropertyCollection. | |
Add(String, Object) | Creates a new AdomdProperty with the specified property name and value. | |
Add(String, String, Object) | Creates a new AdomdProperty with the specified property name, namespace, and value. | |
Clear | Removes all properties from the AdomdPropertyCollection. | |
Contains | Determines whether a property is in the AdomdPropertyCollection. | |
CopyTo | Copies the elements of the AdomdPropertyCollection to the specified array. | |
CreateObjRef | Важный элемент безопасности. (Производный от MarshalByRefObject.) | |
Equals | (Производный от Object.) | |
Find(String) | Gets the specified AdomdProperty from the AdomdPropertyCollection by its name. | |
Find(String, String) | Gets the specified AdomdProperty from the AdomdPropertyCollection by its name and namespace. | |
GetEnumerator | Returns an enumerator that iterates through the AdomdPropertyCollection. | |
GetHashCode | (Производный от Object.) | |
GetLifetimeService | Важный элемент безопасности. (Производный от MarshalByRefObject.) | |
GetType | (Производный от Object.) | |
IndexOf | Returns the zero-based index of the first occurrence of a property in the AdomdPropertyCollection. | |
InitializeLifetimeService | Важный элемент безопасности. (Производный от MarshalByRefObject.) | |
Insert | Inserts a property into the AdomdPropertyCollection at the specified index. | |
Remove | Removes the first occurrence of a specified property from the AdomdPropertyCollection. | |
RemoveAt | Removes the property at the specified index of the AdomdPropertyCollection. | |
ToString | (Производный от Object.) |
В начало
Явные реализации интерфейса
Имя | Описание | |
---|---|---|
IList.Add | Adds an item to the AdomdPropertyCollection. | |
IList.Contains | Determines whether the AdomdPropertyCollection contains the specified element. | |
ICollection.CopyTo | Copies the entire AdomdPropertyCollection to a compatible one dimensional array, starting at the specified index of the target array. | |
IEnumerable.GetEnumerator | Returns an enumerator that iterates through a collection. | |
IList.IndexOf | Determines the index of the specified item in the AdomdPropertyCollection. | |
IList.Insert | Inserts an element into the AdomdPropertyCollection at the specified index. | |
IList.Item | Gets or sets the element at the specified index. | |
IList.Remove | Removes the first occurrence of a specific object from the AdomdPropertyCollection. |
В начало
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.