AttachmentBase.ContentId 屬性

定義

取得或設定這個附件的 MIME 內容識別碼。

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

屬性值

String

包含內容識別碼的 String

例外狀況

嘗試將 ContentId 設定為 null

適用於