RdlCollectionBase<T>.IList.Add 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Adds an object to the end of the collection.
命名空間: Microsoft.ReportingServices.RdlObjectModel
組件: Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)
語法
'宣告
Private Function Add ( _
item As Object _
) As Integer Implements IList.Add
'用途
Dim instance As RdlCollectionBase
Dim item As Object
Dim returnValue As Integer
returnValue = CType(instance, IList).Add(item)
int IList.Add(
Object item
)
private:
virtual int Add(
Object^ item
) sealed = IList::Add
private abstract Add :
item:Object -> int
private override Add :
item:Object -> int
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- item
型別:System.Object
The object to be added to the end of the collection.
傳回值
型別:System.Int32
The object to be added to the end of the collection.