共用方式為


DataItemCollection.IList.Insert 方法

Inserts an item to the collection at the specified index.

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Private Sub Insert ( _
    index As Integer, _
    value As Object _
) Implements IList.Insert
'用途
Dim instance As DataItemCollection 
Dim index As Integer 
Dim value As Object 

CType(instance, IList).Insert(index, _
    value)
void IList.Insert(
    int index,
    Object value
)
private:
virtual void Insert(
    int index, 
    Object^ value
) sealed = IList::Insert
private abstract Insert : 
        index:int * 
        value:Object -> unit  
private override Insert : 
        index:int * 
        value:Object -> unit
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。

參數

  • index
    型別:System.Int32
    The zero-based index at which value should be inserted.
  • value
    型別:System.Object
    The object to insert into the collection.

實作

IList.Insert(Int32, Object)

請參閱

參考

DataItemCollection 類別

Microsoft.AnalysisServices 命名空間