次の方法で共有


RelationshipCollection クラス

Relationship オブジェクトのコレクションが含まれます。 このクラスは継承できません。

継承階層

System.Object
  Microsoft.AnalysisServices.ModelComponentCollection
    Microsoft.AnalysisServices.RelationshipCollection

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

構文

'宣言
Public NotInheritable Class RelationshipCollection _
    Inherits ModelComponentCollection
'使用
Dim instance As RelationshipCollection
public sealed class RelationshipCollection : ModelComponentCollection
public ref class RelationshipCollection sealed : public ModelComponentCollection
[<SealedAttribute>]
type RelationshipCollection =  
    class 
        inherit ModelComponentCollection 
    end
public final class RelationshipCollection extends ModelComponentCollection

RelationshipCollection 型は、以下のメンバーを公開しています。

プロパティ

  名前 説明
パブリック プロパティ Count ModelComponentCollection に含まれる ModelComponent オブジェクトの数を取得します。 (ModelComponentCollection から継承されています。)
パブリック プロパティ IsFixedSize ModelComponentCollection が固定サイズかどうかを示す値を取得します。 (ModelComponentCollection から継承されています。)
パブリック プロパティ IsReadOnly ModelComponentCollection が読み取り専用かどうかを示す値を取得します。 (ModelComponentCollection から継承されています。)
パブリック プロパティ IsSynchronized ModelComponentCollection へのアクセスが同期されるかどうか (スレッドセーフかどうか) を示す値を取得します。 (ModelComponentCollection から継承されています。)
パブリック プロパティ Item[Int32] 指定したインデックスにある Relationship をコレクションから取得します。
パブリック プロパティ Item[String] 指定した識別子を持つ Relationship をコレクションから取得します。
パブリック プロパティ Parent ModelComponentCollection を含む IModelComponent を取得します。 (ModelComponentCollection から継承されています。)
パブリック プロパティ SyncRoot ModelComponentCollection へのアクセスの同期に使用できるオブジェクトを取得します。 (ModelComponentCollection から継承されています。)

先頭に戻る

メソッド

  名前 説明
パブリック メソッド Add(String) 指定された識別子の Relationship をコレクションに追加します。
プロテクト メソッド Add(ModelComponent) インフラストラクチャです。ModelComponentCollectionModelComponent オブジェクトを追加します。 (ModelComponentCollection から継承されています。)
パブリック メソッド Add(Relationship) Relationship をコレクションに追加します。
プロテクト メソッド Add(ModelComponent, Boolean) インフラストラクチャです。ModelComponentCollectionModelComponent オブジェクトを追加します。 (ModelComponentCollection から継承されています。)
パブリック メソッド CanAdd インフラストラクチャです。ModelComponent をコレクションに追加できるかどうかを示します。 (ModelComponentCollection から継承されています。)
プロテクト メソッド ChangeKey インフラストラクチャです。コレクションに指定するキーを変更します。 (ModelComponentCollection から継承されています。)
パブリック メソッド Clear すべての要素を ModelComponentCollection から削除します。 (ModelComponentCollection から継承されています。)
パブリック メソッド Contains(String) 指定された識別子のリレーションシップがコレクションに存在するかどうかを確認します。
パブリック メソッド Contains(Relationship) リレーションシップがコレクションに存在するかどうかを確認します。
パブリック メソッド CopyTo 1 次元の ArrayModelComponentCollection 全体をコピーします。その際、コピー対象の配列の指定したインデックスからコピーを開始します。 (ModelComponentCollection から継承されています。)
パブリック メソッド Equals (Object から継承されています。)
パブリック メソッド Find 指定した識別子を持つ Relationship をコレクションから検索します。
パブリック メソッド GetEnumerator ModelComponentCollection を繰り返し処理できる列挙子を返します。 (ModelComponentCollection から継承されています。)
パブリック メソッド GetHashCode (Object から継承されています。)
パブリック メソッド GetType (Object から継承されています。)
パブリック メソッド IndexOf(String) 指定した識別子を持つ Relationship を検索し、コレクション内で見つかったオブジェクトの 0 から始まるインデックスを返します。
パブリック メソッド IndexOf(Relationship) 指定した Relationship のインデックスを取得します。
プロテクト メソッド Insert(Int32, ModelComponent) インフラストラクチャです。ModelComponentModelComponentCollection に挿入します。 (ModelComponentCollection から継承されています。)
パブリック メソッド Insert(Int32, Relationship) リレーションシップをコレクション内の指定したインデックスに挿入します。
パブリック メソッド Insert(Int32, String) 指定した識別子を持つリレーションシップをコレクション内の指定したインデックスに挿入します。
パブリック メソッド Move(Int32, Int32) 指定した現在のインデックスにある Relationship を、コレクション内の指定した新しいインデックスに移動します。
パブリック メソッド Move(String, Int32) 指定した識別子を持つ Relationship を、コレクション内の指定したインデックスに移動します。
パブリック メソッド Move(Relationship, Int32) Relationship をコレクション内の新しいインデックスに移動します。
パブリック メソッド Remove(String) 指定した識別子の Relationship をコレクションから削除します。
プロテクト メソッド Remove(IModelComponent) 指定した IModelComponent をコレクションから削除します。 (ModelComponentCollection から継承されています。)
パブリック メソッド Remove(Relationship) 指定した Relationship をコレクションから削除します。
パブリック メソッド Remove(String, Boolean) 指定した識別子の Relationship をコレクションから削除します。
パブリック メソッド Remove(Relationship, Boolean) 指定した Relationship をコレクションから削除します。
パブリック メソッド RemoveAt(Int32) 指定したインデックスにある IModelComponent を ModelComponentCollection から削除します。 (ModelComponentCollection から継承されています。)
パブリック メソッド RemoveAt(Int32, Boolean) インフラストラクチャです。指定したインデックスにある IModelComponentModelComponentCollection から削除します。 (ModelComponentCollection から継承されています。)
パブリック メソッド ToString (Object から継承されています。)

先頭に戻る

イベント

  名前 説明
パブリック イベント CollectionChanged インフラストラクチャです。コレクションに変更が生じた場合に発生します。 (ModelComponentCollection から継承されています。)
パブリック イベント CollectionChanging インフラストラクチャです。コレクションに変更が生じている場合に発生します。 (ModelComponentCollection から継承されています。)

先頭に戻る

明示的なインターフェイスの実装

  名前 説明
明示的なインターフェイスの実装プライベート メソッド IList.Add コレクションにアイテムを追加します。 (ModelComponentCollection から継承されています。)
明示的なインターフェイスの実装プライベート メソッド IList.Clear すべてのアイテムをコレクションから削除します。 (ModelComponentCollection から継承されています。)
明示的なインターフェイスの実装プライベート メソッド IList.Contains 特定の値がコレクションに含まれているかどうかを示します。 (ModelComponentCollection から継承されています。)
明示的なインターフェイスの実装プライベート メソッド IList.IndexOf コレクション内の特定のアイテムのインデックスを示します。 (ModelComponentCollection から継承されています。)
明示的なインターフェイスの実装プライベート メソッド IList.Insert アイテムをコレクション内の指定したインデックスに挿入します。 (ModelComponentCollection から継承されています。)
明示的なインターフェイスの実装プライベート プロパティ IList.Item 指定されたインデックス位置の要素を取得または設定します。 (ModelComponentCollection から継承されています。)
明示的なインターフェイスの実装プライベート メソッド IList.Remove 最初に見つかった指定のオブジェクトをコレクションから削除します。 (ModelComponentCollection から継承されています。)
明示的なインターフェイスの実装プライベート メソッド IList.RemoveAt 指定されたインデックスにある項目を削除します。 (ModelComponentCollection から継承されています。)
明示的なインターフェイスの実装プライベート メソッド IModelComponentCollection.Contains 特定の値がコレクションに含まれているかどうかを示します。 (ModelComponentCollection から継承されています。)
明示的なインターフェイスの実装プライベート メソッド IModelComponentCollection.Remove(IModelComponent) ModelComponentCollection から、特定の IModelComponent の最初の発生を削除します。 (ModelComponentCollection から継承されています。)
明示的なインターフェイスの実装プライベート メソッド IModelComponentCollection.Remove(IModelComponent, Boolean) ModelComponentCollection から、特定の IModelComponent の最初の発生を削除します。 (ModelComponentCollection から継承されています。)
明示的なインターフェイスの実装プライベート メソッド IOnDemandLoadableCollection.BlockOnDemandLoad ブロックされる要求に応じた読み込みを指定します。 (ModelComponentCollection から継承されています。)
明示的なインターフェイスの実装プライベート プロパティ IOnDemandLoadableCollection.Loaded コレクションを読み込むかどうかを示す値を取得または設定します。 (ModelComponentCollection から継承されています。)

先頭に戻る

スレッド セーフ

この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

関連項目

参照

Microsoft.AnalysisServices 名前空間