AttributeTranslationCollection.Add メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
Add(AttributeTranslation) |
指定した AttributeTranslation をコレクションの末尾に追加します。 |
Add(Int32) |
指定した言語を使用して新しい AttributeTranslation オブジェクトを作成し、コレクションの末尾に追加して、作成された新しい AttributeTranslation を返します。 |
Add(Int32, String) |
指定した言語とキャプションを使用して新しい AttributeTranslation オブジェクトを作成し、コレクションの末尾に追加して、作成された新しい AttributeTranslation を返します。 |
Add(AttributeTranslation)
指定した AttributeTranslation をコレクションの末尾に追加します。
public int Add (Microsoft.AnalysisServices.AttributeTranslation item);
override this.Add : Microsoft.AnalysisServices.AttributeTranslation -> int
Public Function Add (item As AttributeTranslation) As Integer
パラメーター
- item
- AttributeTranslation
追加する AttributeTranslation です。
戻り値
AttributeTranslation が追加されたコレクションの 0 から始まるインデックスです。
例外
- 指定したアイテムは null 参照 (Visual Basic では Nothing) です。
- 指定したアイテムはコレクション内に既に存在しています。
- 指定した AttributeTranslation の言語がコレクション内で無効です。
- 指定した AttributeTranslation の名前がコレクション内で無効です。
- 指定した AttributeTranslation の互換性レベルは、コレクション内では無効です。
適用対象
Add(Int32)
指定した言語を使用して新しい AttributeTranslation オブジェクトを作成し、コレクションの末尾に追加して、作成された新しい AttributeTranslation を返します。
public Microsoft.AnalysisServices.AttributeTranslation Add (int language);
override this.Add : int -> Microsoft.AnalysisServices.AttributeTranslation
Public Function Add (language As Integer) As AttributeTranslation
パラメーター
- language
- Int32
新しい AttributeTranslation オブジェクトの言語です。
戻り値
新しく作成された AttributeTranslation オブジェクトです。
例外
指定した言語がコレクション内で有効ではありません。
適用対象
Add(Int32, String)
指定した言語とキャプションを使用して新しい AttributeTranslation オブジェクトを作成し、コレクションの末尾に追加して、作成された新しい AttributeTranslation を返します。
public Microsoft.AnalysisServices.AttributeTranslation Add (int language, string caption);
override this.Add : int * string -> Microsoft.AnalysisServices.AttributeTranslation
Public Function Add (language As Integer, caption As String) As AttributeTranslation
パラメーター
- language
- Int32
新しい AttributeTranslation オブジェクトの言語です。
- caption
- String
新しい AttributeTranslation オブジェクトのキャプションです。
戻り値
新しく作成された AttributeTranslation オブジェクトです。