次の方法で共有


PerspectiveMeasureGroupCollection.Insert メソッド (Int32, String)

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

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

構文

'宣言
Public Function Insert ( _
    index As Integer, _
    measureGroupId As String _
) As PerspectiveMeasureGroup
'使用
Dim instance As PerspectiveMeasureGroupCollection 
Dim index As Integer 
Dim measureGroupId As String 
Dim returnValue As PerspectiveMeasureGroup 

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

パラメーター

戻り値

型: Microsoft.AnalysisServices.PerspectiveMeasureGroup
新しい、空の PerspectiveMeasureGroup です。

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

index に Count 以上の値が指定されています。

関連項目

参照

PerspectiveMeasureGroupCollection クラス

Insert オーバーロード

Microsoft.AnalysisServices 名前空間