次の方法で共有


Insert メソッド (Int32, Int32)

指定した言語の AttributeTranslation を作成し、コレクション内の指定したインデックスに挿入します。

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

構文

'宣言
Public Function Insert ( _
    index As Integer, _
    language As Integer _
) As AttributeTranslation
'使用
Dim instance As AttributeTranslationCollection
Dim index As Integer
Dim language As Integer
Dim returnValue As AttributeTranslation

returnValue = instance.Insert(index, language)
public AttributeTranslation Insert(
    int index,
    int language
)
public:
AttributeTranslation^ Insert(
    int index, 
    int language
)
member Insert : 
        index:int * 
        language:int -> AttributeTranslation 
public function Insert(
    index : int, 
    language : int
) : AttributeTranslation

パラメーター

戻り値

型: Microsoft.AnalysisServices. . :: . .AttributeTranslation
コレクションに挿入した AttributeTranslation です。

例外

例外 条件
ArgumentOutOfRangeException

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

-または-

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