次の方法で共有


ISharePointProjectItemCollection インターフェイス

SharePoint プロジェクト アイテムのコレクションを表します。

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

構文

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

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

プロパティ

  名前 説明
パブリック プロパティ Count コレクション内の項目の数を取得します。 (ISharePointCollection<T> から継承されます。)
パブリック プロパティ Item ISharePointProjectItem のインスタンスをそのフォルダー パスを使用して取得します。
パブリック プロパティ Project このコレクションを所有するプロジェクト インスタンスを取得します。

このページのトップへ

メソッド

  名前 説明
パブリック メソッド Add(String, String) SharePoint プロジェクト アイテムの新しいインスタンスを作成して追加します。
パブリック メソッド Add(String, String, Boolean) SharePoint プロジェクト アイテムの新しいインスタンスを作成して追加します。
パブリック メソッド Add(String, String, String) SharePoint プロジェクト アイテムの新しいインスタンスを作成して追加します。
パブリック メソッド Add(String, String, String, Boolean) SharePoint プロジェクト アイテムを作成してプロジェクトに追加します。
パブリック メソッド Contains 指定された項目がこのコレクションのメンバーかどうかを取得します。 (ISharePointCollection<T> から継承されます。)
パブリック メソッド CopyTo このコレクションの項目を配列にコピーします。 (ISharePointCollection<T> から継承されます。)
パブリック メソッド Find ID を使用して ISharePointProjectItem インスタンスを検索します。
パブリック メソッド GetEnumerator() コレクションを反復処理する列挙子を返します。 (IEnumerable<ISharePointProjectItem> から継承されます。)
パブリック メソッド GetEnumerator() コレクションを反復処理する列挙子を返します。 (IEnumerable から継承されます。)

このページのトップへ

イベント

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

このページのトップへ

参照

参照

Microsoft.VisualStudio.SharePoint 名前空間