Attachments インターフェイス

定義

Outlook アイテム内の Attachment 添付ファイルを表すオブジェクトのセットを含みます。

public interface class Attachments : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("0006303C-0000-0000-C000-000000000046")]
public interface Attachments : System.Collections.IEnumerable
Public Interface Attachments
Implements IEnumerable
属性
実装

注釈

プロパティを Item[Object] 使用して、Outlook アイテム (メモを除く) の Attachments コレクションを返します。

メソッドを Add(Object, Object, Object, Object) 使用して、アイテムに添付ファイルを追加します。

一貫した結果を得るために、必ず、アイテムの Attachments コレクションのオブジェクトを追加したり削除したりする前に、アイテムを保存してください。

プロパティ

Application

オブジェクトの Application 親 Outlook アプリケーションを表す オブジェクトを返します。 読み取り専用です。

Class

オブジェクトのクラスを OlObjectClass 示す定数を返します。 読み取り専用です。

Count

指定したコレクション内のオブジェクトの数を示す Integer (C#では int ) の値を返します。 読み取り専用です。

Item[Object]

コレクションからオブジェクトを Attachment 返します。

Parent

指定されたオブジェクトの親 Object を取得します。 読み取り専用です。

Session

現在のセッションの NameSpace オブジェクトを返します。 読み取り専用です。

メソッド

Add(Object, Object, Object, Object)

コレクションに新しい添付ファイルを Attachments 作成します。

Remove(Int32)

コレクションからオブジェクトを削除します。

適用対象