次の方法で共有


ISharePointProjectCollection インターフェイス

Visual Studio ソリューションに存在するすべての SharePoint プロジェクトのコレクション。

名前空間:  Microsoft.VisualStudio.SharePoint
アセンブリ:  Microsoft.VisualStudio.SharePoint (Microsoft.VisualStudio.SharePoint.dll 内)

構文

'宣言
Public Interface ISharePointProjectCollection _
    Inherits ISharePointCollection(Of ISharePointProject), INotifyCollectionChanged, INotifyPropertyChanged,  _
    IEnumerable(Of ISharePointProject), IEnumerable
public interface ISharePointProjectCollection : ISharePointCollection<ISharePointProject>, 
    INotifyCollectionChanged, INotifyPropertyChanged, IEnumerable<ISharePointProject>, IEnumerable

ISharePointProjectCollection 型で公開されるメンバーは以下のとおりです。

プロパティ

  名前 説明
パブリック プロパティ Count コレクション内の項目の数を取得します。 (ISharePointCollection<T> から継承されます。)
パブリック プロパティ Item 指定したプロジェクト パスを使用して SharePoint プロジェクトのインスタンスを取得します。
パブリック プロパティ ProjectService SharePoint プロジェクト サービスのインスタンスを取得します。

このページのトップへ

メソッド

  名前 説明
パブリック メソッド Contains 指定された項目がこのコレクションのメンバーかどうかを取得します。 (ISharePointCollection<T> から継承されます。)
パブリック メソッド CopyTo このコレクションの項目を配列にコピーします。 (ISharePointCollection<T> から継承されます。)
パブリック メソッド Find 指定した ID を持つ SharePoint プロジェクトのインスタンスを検索します。
パブリック メソッド GetEnumerator() コレクションを反復処理する列挙子を返します。 (IEnumerable<ISharePointProject> から継承されます。)
パブリック メソッド GetEnumerator() コレクションを反復処理する列挙子を返します。 (IEnumerable から継承されます。)

このページのトップへ

イベント

  名前 説明
パブリック イベント CollectionChanged コレクションが変更された場合に発生します。 (INotifyCollectionChanged から継承されます。)
パブリック イベント PropertyChanged プロパティ値が変更されたときに発生します。 (INotifyPropertyChanged から継承されます。)

このページのトップへ

参照

参照

Microsoft.VisualStudio.SharePoint 名前空間