EmailMessage.Attachments 属性

定义

获取或设置文件附件作为 EmailAttachment 对象的列表。

public:
 property System::Collections::Generic::List<Microsoft::Maui::ApplicationModel::Communication::EmailAttachment ^> ^ Attachments { System::Collections::Generic::List<Microsoft::Maui::ApplicationModel::Communication::EmailAttachment ^> ^ get(); void set(System::Collections::Generic::List<Microsoft::Maui::ApplicationModel::Communication::EmailAttachment ^> ^ value); };
public System.Collections.Generic.List<Microsoft.Maui.ApplicationModel.Communication.EmailAttachment>? Attachments { get; set; }
member this.Attachments : System.Collections.Generic.List<Microsoft.Maui.ApplicationModel.Communication.EmailAttachment> with get, set
Public Property Attachments As List(Of EmailAttachment)

属性值

适用于