次の方法で共有


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

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

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

構文

'宣言
Public Function Insert ( _
    index As Integer, _
    attributeId As String _
) As AggregationDesignAttribute
'使用
Dim instance As AggregationDesignAttributeCollection 
Dim index As Integer 
Dim attributeId As String 
Dim returnValue As AggregationDesignAttribute 

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

パラメーター

戻り値

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

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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

関連項目

参照

AggregationDesignAttributeCollection クラス

Insert オーバーロード

Microsoft.AnalysisServices 名前空間