AttachmentCollection クラス
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
アイテムの添付ファイル コレクションを定義します。
public ref class AttachmentCollection sealed : Microsoft::Exchange::WebServices::Data::ComplexPropertyCollection<Microsoft::Exchange::WebServices::Data::Attachment ^>
public sealed class AttachmentCollection : Microsoft.Exchange.WebServices.Data.ComplexPropertyCollection<Microsoft.Exchange.WebServices.Data.Attachment>
Public NotInheritable Class AttachmentCollection
Inherits ComplexPropertyCollection(Of Attachment)
- 継承
プロパティ
| Count |
コレクション内のプロパティの合計数を取得します。 (継承元 ComplexPropertyCollection<TComplexProperty>) |
| Item[Int32] |
指定したインデックス位置にある プロパティを取得します。 (継承元 ComplexPropertyCollection<TComplexProperty>) |
メソッド
| AddFileAttachment(String, Byte[]) |
ファイルを含むコレクションに添付ファイルを追加します。 |
| AddFileAttachment(String, Stream) |
ファイルを含むデータ ストリームを使用して、添付ファイルをコレクションに追加します。 |
| AddFileAttachment(String, String) |
コレクションに添付ファイルを追加します。 |
| AddFileAttachment(String) |
コレクションに添付ファイルを追加します。 |
| AddItemAttachment<TItem>() |
アイテムの添付ファイルをコレクションに追加します。 |
| Clear() |
コレクションからすべての添付ファイルを削除します。 |
| Contains(TComplexProperty) |
特定のプロパティがコレクション内にあるかどうかを判断します。 (継承元 ComplexPropertyCollection<TComplexProperty>) |
| GetEnumerator() |
コレクションの要素を反復処理する列挙子を取得します。 (継承元 ComplexPropertyCollection<TComplexProperty>) |
| IndexOf(TComplexProperty) |
特定のプロパティを検索し、コレクション内の 0 から始まるインデックスを返します。 (継承元 ComplexPropertyCollection<TComplexProperty>) |
| Remove(Attachment) |
指定した添付ファイルをコレクションから削除します。 |
| RemoveAt(Int32) |
コレクション内の指定したインデックス (場所) にある添付ファイルを削除します。 |
明示的なインターフェイスの実装
| IEnumerable.GetEnumerator() |
コレクションの要素を反復処理する列挙子を取得します。 IEnumerable.GetEnumerator()方法は、Exchange Onlineを対象とするクライアントと、Exchange Server 2013 以降のバージョンの Exchange に適用できます。 (継承元 ComplexPropertyCollection<TComplexProperty>) |