AdomdRestrictionCollection.IList.Add 方法
Adds an item to the AdomdRestrictionCollection.
命名空间: Microsoft.AnalysisServices.AdomdClient
程序集: Microsoft.AnalysisServices.AdomdClient(在 Microsoft.AnalysisServices.AdomdClient.dll 中)
语法
声明
Private Function Add ( _
value As Object _
) As Integer Implements IList.Add
用法
Dim instance As AdomdRestrictionCollection
Dim value As Object
Dim returnValue As Integer
returnValue = CType(instance, IList).Add(value)
int IList.Add(
Object value
)
private:
virtual int Add(
Object^ value
) sealed = IList::Add
private abstract Add :
value:Object -> int
private override Add :
value:Object -> int
JScript 支持使用显式接口实现,但不支持声明新显式接口实现。
参数
- value
类型:System.Object
The obect to add to the AdomdRestrictionCollection.
返回值
类型:System.Int32
The position into which the new element was inserted, or -1 to indicate that the item was not inserted into the collection.