MailAttachment 類別
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
The recommended alternative is System.Net.Mail.Attachment. http://go.microsoft.com/fwlink/?linkid=14202
提供建構電子郵件附件的屬性和方法。 建議的替代做法: System.Net.Mail。
public ref class MailAttachment
public class MailAttachment
[System.Obsolete("The recommended alternative is System.Net.Mail.Attachment. http://go.microsoft.com/fwlink/?linkid=14202")]
public class MailAttachment
type MailAttachment = class
[<System.Obsolete("The recommended alternative is System.Net.Mail.Attachment. http://go.microsoft.com/fwlink/?linkid=14202")>]
type MailAttachment = class
Public Class MailAttachment
- 繼承
-
MailAttachment
- 屬性
Mail |
已淘汰.
使用附件的指定檔案名稱,初始化 MailAttachment 類別的新執行個體。 依預設會將 Encoding 屬性設定為 UUEncode。 建議的替代做法: System.Net.Mail。 |
Mail |
已淘汰.
使用指定檔案名稱和附件的編碼型別,初始化 MailAttachment 類別的新執行個體。 建議的替代做法: System.Net.Mail。 |
Encoding |
已淘汰.
取得電子郵件附件的編碼類型。 建議的替代做法: System.Net.Mail。 |
Filename |
已淘汰.
取得附件檔案的名稱。 建議的替代做法: System.Net.Mail。 |
Equals(Object) |
已淘汰.
判斷指定的物件是否等於目前的物件。 (繼承來源 Object) |
Get |
已淘汰.
做為預設雜湊函式。 (繼承來源 Object) |
Get |
已淘汰.
取得目前執行個體的 Type。 (繼承來源 Object) |
Memberwise |
已淘汰.
建立目前 Object 的淺層複製。 (繼承來源 Object) |
To |
已淘汰.
傳回代表目前物件的字串。 (繼承來源 Object) |
產品 | 版本 (已淘汰) |
---|---|
.NET Framework | 1.1 (2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |