ItemType.Attachments Property
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets or sets the items or files that are attached to an item in the Exchange store.
Namespace: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007
Assembly: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (in Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll)
Syntax
'Declaration
Public Property Attachments As AttachmentType()
Get
Set
'Usage
Dim instance As ItemType
Dim value As AttachmentType()
value = instance.Attachments
instance.Attachments = value
public AttachmentType[] Attachments { get; set; }
public:
property array<AttachmentType^>^ Attachments {
array<AttachmentType^>^ get ();
void set (array<AttachmentType^>^ value);
}
member Attachments : AttachmentType[] with get, set
Property Value
Type: array<Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.AttachmentType[]
An object that represents the collection of items.
Remarks
The individual attachments have the same child elements but are based on different types: ArrayOfAttachmentsType and NonEmptyArrayOfAttachmentsType. The ArrayOfAttachmentsType is used only in the response message.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Compact Framework
Supported in: 3.5
See Also
Reference
Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007 Namespace