AttachmentBase.ContentId 屬性

定義

取得或設定這個附件的 MIME 內容識別碼。Gets or sets the MIME content ID for this attachment.

public:
 property System::String ^ ContentId { System::String ^ get(); void set(System::String ^ value); };
public string ContentId { get; set; }
member this.ContentId : string with get, set
Public Property ContentId As String

屬性值

包含內容識別碼的 StringA String holding the content ID.

例外狀況

嘗試將 ContentId 設定為 nullAttempted to set ContentId to null.

適用於