Aspose::Email::Clients::Exchange::WebService::Models::EwsFetchItems Class Reference

Represents IAsyncEwsClient::FetchItemsAsync parameters. More...

Inherits Object.

Public Member Functions

System::SharedPtr< System::Collections::Generic::ListExt< System::String > > get_Uris () const
 
System::SharedPtr< System::Collections::Generic::ListExt< System::SharedPtr< Aspose::Email::Mapi::PropertyDescriptor > > > get_ExtendedProperties () const
 
bool get_FetchAttachments () const
 
System::SharedPtr< EwsFetchItemsAddUris (System::SharedPtr< System::Collections::Generic::IEnumerable< System::String >> uris)
 Add message URIs to fetch. More...
 
System::SharedPtr< EwsFetchItemsAddUri (System::String uri)
 Add message URI to fetch. More...
 
System::SharedPtr< EwsFetchItemsAddExtendedProperty (System::SharedPtr< Aspose::Email::Mapi::PropertyDescriptor > propertyDescriptor)
 Add extended property to retrieve. More...
 
System::SharedPtr< EwsFetchItemsAddExtendedProperties (System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Email::Mapi::PropertyDescriptor >>> properties)
 Add extended properties to retrieve. More...
 
System::SharedPtr< EwsFetchItemsWithAttachments (bool withAttachments=1)
 Fetch all attachments. More...
 
System::SharedPtr< EwsFetchItemsSkipAttachments ()
 Do not fetch attachment contents. More...
 

Static Public Member Functions

static System::SharedPtr< EwsFetchItemsCreate ()
 Creates IAsyncEwsClient::FetchItemsAsync method's parameter set. More...
 

Protected Member Functions

virtual ~EwsFetchItems ()
 

Friends

class Aspose::Email::Clients::Exchange::WebService::Implementation::Items::Fetch::EwsClientItemFetch
 

Detailed Description

Represents IAsyncEwsClient::FetchItemsAsync parameters.

Constructor & Destructor Documentation

◆ ~EwsFetchItems()

virtual Aspose::Email::Clients::Exchange::WebService::Models::EwsFetchItems::~EwsFetchItems ( )
protectedvirtual

Member Function Documentation

◆ AddExtendedProperties()

System::SharedPtr<EwsFetchItems> Aspose::Email::Clients::Exchange::WebService::Models::EwsFetchItems::AddExtendedProperties ( System::SharedPtr< System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Email::Mapi::PropertyDescriptor >>>  properties)

Add extended properties to retrieve.

◆ AddExtendedProperty()

System::SharedPtr<EwsFetchItems> Aspose::Email::Clients::Exchange::WebService::Models::EwsFetchItems::AddExtendedProperty ( System::SharedPtr< Aspose::Email::Mapi::PropertyDescriptor propertyDescriptor)

Add extended property to retrieve.

◆ AddUri()

System::SharedPtr<EwsFetchItems> Aspose::Email::Clients::Exchange::WebService::Models::EwsFetchItems::AddUri ( System::String  uri)

Add message URI to fetch.

◆ AddUris()

System::SharedPtr<EwsFetchItems> Aspose::Email::Clients::Exchange::WebService::Models::EwsFetchItems::AddUris ( System::SharedPtr< System::Collections::Generic::IEnumerable< System::String >>  uris)

Add message URIs to fetch.

◆ Create()

static System::SharedPtr<EwsFetchItems> Aspose::Email::Clients::Exchange::WebService::Models::EwsFetchItems::Create ( )
static

Creates IAsyncEwsClient::FetchItemsAsync method's parameter set.

◆ get_ExtendedProperties()

System::SharedPtr<System::Collections::Generic::ListExt<System::SharedPtr<Aspose::Email::Mapi::PropertyDescriptor> > > Aspose::Email::Clients::Exchange::WebService::Models::EwsFetchItems::get_ExtendedProperties ( ) const

◆ get_FetchAttachments()

bool Aspose::Email::Clients::Exchange::WebService::Models::EwsFetchItems::get_FetchAttachments ( ) const

◆ get_Uris()

System::SharedPtr<System::Collections::Generic::ListExt<System::String> > Aspose::Email::Clients::Exchange::WebService::Models::EwsFetchItems::get_Uris ( ) const

◆ SkipAttachments()

System::SharedPtr<EwsFetchItems> Aspose::Email::Clients::Exchange::WebService::Models::EwsFetchItems::SkipAttachments ( )

Do not fetch attachment contents.

◆ WithAttachments()

System::SharedPtr<EwsFetchItems> Aspose::Email::Clients::Exchange::WebService::Models::EwsFetchItems::WithAttachments ( bool  withAttachments = 1)

Fetch all attachments.

Parameters
withAttachmentsSet this argument to false to skip attachments fetching.

Friends And Related Function Documentation

◆ Aspose::Email::Clients::Exchange::WebService::Implementation::Items::Fetch::EwsClientItemFetch

friend class Aspose::Email::Clients::Exchange::WebService::Implementation::Items::Fetch::EwsClientItemFetch
friend