次の方法で共有


ReportParameterCollection.Insert メソッド (Int32, ReportParameter)

ReportParameter をコレクション内の指定したインデックスに挿入します。

名前空間:  Microsoft.AnalysisServices
アセンブリ:  Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)

構文

'宣言
Public Sub Insert ( _
    index As Integer, _
    item As ReportParameter _
)
'使用
Dim instance As ReportParameterCollection 
Dim index As Integer 
Dim item As ReportParameter

instance.Insert(index, item)
public void Insert(
    int index,
    ReportParameter item
)
public:
void Insert(
    int index, 
    ReportParameter^ item
)
member Insert : 
        index:int * 
        item:ReportParameter -> unit
public function Insert(
    index : int, 
    item : ReportParameter
)

パラメーター

例外

例外 条件
ArgumentOutOfRangeException

index に 0 より小さい値が指定されています。

-または-

index に [H:Microsoft.AnalysisServices.ModelComponentCollection.Count] 以上の値が指定されています。

関連項目

参照

ReportParameterCollection クラス

Insert オーバーロード

Microsoft.AnalysisServices 名前空間