AttachmentCollection クラス

定義

アイテムの添付ファイル コレクションを定義します。

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)

コレクションに添付ファイルを追加します。

AddFileAttachment(String, Byte[])

ファイルを含むコレクションに添付ファイルを追加します。

AddFileAttachment(String, Stream)

ファイルを含むデータ ストリームを使用して、添付ファイルをコレクションに追加します。

AddFileAttachment(String, 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および 2013 以降のバージョンの Exchange を対象とするクライアントExchange Server適用できます。

(継承元 ComplexPropertyCollection<TComplexProperty>)

適用対象