共用方式為


RdlCollection<T>.SetItem 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Replaces an item in the collection.

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Protected Overrides Sub SetItem ( _
    index As Integer, _
    item As T _
)
'用途
Dim index As Integer 
Dim item As T

Me.SetItem(index, item)
protected override void SetItem(
    int index,
    T item
)
protected:
virtual void SetItem(
    int index, 
    T item
) override
abstract SetItem : 
        index:int * 
        item:'T -> unit  
override SetItem : 
        index:int * 
        item:'T -> unit
protected override function SetItem(
    index : int, 
    item : T
)

參數

  • index
    型別:System.Int32
    The index of the item to be replaced.
  • item
    型別:T
    The item to be replaced.

請參閱

參考

RdlCollection<T> 類別

Microsoft.ReportingServices.RdlObjectModel 命名空間