AttachmentBase クラス
定義
電子メールの添付ファイルを表す基本クラス。Base class that represents an email attachment. Attachment、AlternateView、LinkedResource の各クラスは、このクラスから派生します。Classes Attachment, AlternateView, and LinkedResource derive from this class.
public ref class AttachmentBase abstract : IDisposable
public abstract class AttachmentBase : IDisposable
type AttachmentBase = class
interface IDisposable
Public MustInherit Class AttachmentBase
Implements IDisposable
- 継承
-
AttachmentBase
- 派生
- 実装
コンストラクター
AttachmentBase(Stream) |
指定した AttachmentBase を使用して Stream をインスタンス化します。Instantiates an AttachmentBase with the specified Stream. |
AttachmentBase(Stream, ContentType) |
指定した Stream および ContentType を使用して、AttachmentBase をインスタンス化します。Instantiates an AttachmentBase with the specified Stream and ContentType. |
AttachmentBase(Stream, String) |
指定した AttachmentBase およびメディア タイプを使用して、Stream をインスタンス化します。Instantiates an AttachmentBase with the specified Stream and media type. |
AttachmentBase(String) |
指定したファイル名を使用して、AttachmentBase をインスタンス化します。Instantiates an AttachmentBase with the specified file name. |
AttachmentBase(String, ContentType) |
指定したファイル名およびコンテンツ タイプを使用して、AttachmentBase をインスタンス化します。Instantiates an AttachmentBase with the specified file name and content type. |
AttachmentBase(String, String) |
指定したファイル名およびメディア タイプを使用して、AttachmentBase をインスタンス化します。Instantiates an AttachmentBase with the specified file name and media type. |
プロパティ
ContentId |
この添付ファイルの MIME コンテンツ ID を取得または設定します。Gets or sets the MIME content ID for this attachment. |
ContentStream |
この添付ファイルのコンテンツ ストリームを取得します。Gets the content stream of this attachment. |
ContentType |
この添付ファイルのコンテンツ タイプを取得します。Gets the content type of this attachment. |
TransferEncoding |
この添付ファイルのエンコーディングを取得または設定します。Gets or sets the encoding of this attachment. |
メソッド
Dispose() |
AttachmentBase で使用したリソースを解放します。Releases the resources used by the AttachmentBase. |
Dispose(Boolean) |
AttachmentBase によって使用されているアンマネージド リソースを解放し、オプションでマネージド リソースも解放します。Releases the unmanaged resources used by the AttachmentBase and optionally releases the managed resources. |
Equals(Object) |
指定されたオブジェクトが現在のオブジェクトと等しいかどうかを判断します。Determines whether the specified object is equal to the current object. (継承元 Object) |
GetHashCode() |
既定のハッシュ関数として機能します。Serves as the default hash function. (継承元 Object) |
GetType() |
現在のインスタンスの Type を取得します。Gets the Type of the current instance. (継承元 Object) |
MemberwiseClone() |
現在の Object の簡易コピーを作成します。Creates a shallow copy of the current Object. (継承元 Object) |
ToString() |
現在のオブジェクトを表す文字列を返します。Returns a string that represents the current object. (継承元 Object) |