AdomdPropertyCollection 类
This class gets 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 继承。) | |
Finalize | (从 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 | Gets an AdomdPropertyCollection..::..Enumerator for iterating 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. | |
MemberwiseClone() () () () | (从 Object 继承。) | |
MemberwiseClone(Boolean) | (从 MarshalByRefObject 继承。) | |
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 | ||
IList. . :: . .Contains | ||
ICollection. . :: . .CopyTo | ||
IEnumerable. . :: . .GetEnumerator | ||
IList. . :: . .IndexOf | ||
IList. . :: . .Insert | ||
IList. . :: . .Item | ||
IList. . :: . .Remove |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。