CommandCollection.RemoveAt 方法
Removes the Command at the specified index from the collection.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Sub RemoveAt ( _
index As Integer _
)
'用途
Dim instance As CommandCollection
Dim index As Integer
instance.RemoveAt(index)
public void RemoveAt(
int index
)
public:
virtual void RemoveAt(
int index
) sealed
abstract RemoveAt :
index:int -> unit
override RemoveAt :
index:int -> unit
public final function RemoveAt(
index : int
)
參數
- index
型別:System.Int32
The zero-based index of the Command to be removed.
實作
例外狀況
例外狀況 | 條件 |
---|---|
ArgumentOutOfRangeException | index is less than zero. -or- index is equal to or greater than Count. |