次の方法で共有


Insert メソッド (Int32, String)

指定した識別子の PerspectiveMeasure を作成し、コレクション内の指定したインデックスに挿入します。

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

構文

'宣言
Public Function Insert ( _
    index As Integer, _
    measureId As String _
) As PerspectiveMeasure
'使用
Dim instance As PerspectiveMeasureCollection
Dim index As Integer
Dim measureId As String
Dim returnValue As PerspectiveMeasure

returnValue = instance.Insert(index, measureId)
public PerspectiveMeasure Insert(
    int index,
    string measureId
)
public:
PerspectiveMeasure^ Insert(
    int index, 
    String^ measureId
)
member Insert : 
        index:int * 
        measureId:string -> PerspectiveMeasure 
public function Insert(
    index : int, 
    measureId : String
) : PerspectiveMeasure

パラメーター

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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