다음을 통해 공유


CreateAttachmentType.Attachments Property

The Attachments property gets or sets the attachments to create for the CreateAttachment operation.

Namespace: ExchangeWebServices
Assembly: EWS (in ews.dll)

Syntax

'Declaration
<XmlArrayItemAttribute("FileAttachment", GetType(FileAttachmentType), Namespace:="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable:=False)> _
<XmlArrayItemAttribute("ItemAttachment", GetType(ItemAttachmentType), Namespace:="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable:=False)> _
Public Property Attachments As AttachmentType()
[XmlArrayItemAttribute("FileAttachment", typeof(FileAttachmentType), Namespace="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
[XmlArrayItemAttribute("ItemAttachment", typeof(ItemAttachmentType), Namespace="https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
public AttachmentType[] Attachments { get; set; }
[XmlArrayItemAttribute(L"FileAttachment", typeof(FileAttachmentType), Namespace=L"https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
[XmlArrayItemAttribute(L"ItemAttachment", typeof(ItemAttachmentType), Namespace=L"https://schemas.microsoft.com/exchange/services/2006/types", IsNullable=false)] 
public:
property array<AttachmentType^>^ Attachments {
    array<AttachmentType^>^ get ();
    void set (array<AttachmentType^>^ value);
}
/** @property */
public AttachmentType[] get_Attachments ()

/** @property */
public void set_Attachments (AttachmentType[] value)
public function get Attachments () : AttachmentType[]

public function set Attachments (value : AttachmentType[])

Property Value

The Attachments property returns an AttachmentType array that contains the set of attachments.

Remarks

The Attachments property can contain a set of file and item attachments.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows 98, Windows 2000, Windows 2000 Server, Windows CE, Windows Longhorn, Windows 98 Second Edition, Pocket PC, Smart Phone, Windows Server 2003, Windows XP Professional with Service Pack 2 (SP2)