GetIdPropertyDefinition method

  1. @override
PropertyDefinition GetIdPropertyDefinition()
override
Obtains a list of items by searching the contents of this folder. Calling this method results in a call to EWS. query String to be used for indexed search The view controlling the number of items returned. / EwsUtilities.ValidateParamAllowNull(queryString, "queryString"); Obtains a list of items by searching the contents of this folder. Calling this method results in a call to EWS. The view controlling the number of items returned. Obtains a grouped list of items by searching the contents of this folder. Calling this method results in a call to EWS. The search filter. Available search filter classes include SearchFilter.IsEqualTo, SearchFilter.ContainsSubString and SearchFilter.SearchFilterCollection The view controlling the number of items returned. The grouping criteria. / EwsUtilities.ValidateParam(groupBy, "groupBy"); / EwsUtilities.ValidateParamAllowNull(searchFilter, "searchFilter"); Obtains a grouped list of items by searching the contents of this folder. Calling this method results in a call to EWS. query String to be used for indexed search The view controlling the number of items returned. The grouping criteria. / EwsUtilities.ValidateParam(groupBy, "groupBy"); Obtains a list of folders by searching the sub-folders of this folder. Calling this method results in a call to EWS. The view controlling the number of folders returned. Obtains a list of folders by searching the sub-folders of this folder. Calling this method results in a call to EWS. The search filter. Available search filter classes include SearchFilter.IsEqualTo, SearchFilter.ContainsSubString and SearchFilter.SearchFilterCollection The view controlling the number of folders returned. Obtains a grouped list of items by searching the contents of this folder. Calling this method results in a call to EWS. The view controlling the number of items returned. The grouping criteria. / EwsUtilities.ValidateParam(groupBy, "groupBy"); Get the property definition for the Id property.

Implementation

// FindItemsResults<Item> FindItems(String queryString, ItemView view)
//        {
////            EwsUtilities.ValidateParamAllowNull(queryString, "queryString");
//
//            ServiceResponseCollection<FindItemResponse<Item>> responses = this.InternalFindItems<Item>(queryString, view, null /* groupBy */);
//
//            return responses[0].Results;
//        }

/// <summary>
/// Obtains a list of items by searching the contents of this folder. Calling this method results in a call to EWS.
/// </summary>
/// <param name="view">The view controlling the number of items returned.</param>
/// <returns>An object representing the results of the search operation.</returns>
// FindItemsResults<Item> FindItems(ItemView view)
//        {
//            ServiceResponseCollection<FindItemResponse<Item>> responses = this.InternalFindItems<Item>(
//                (SearchFilter)null,
//                view,
//                null /* groupBy */ );
//
//            return responses[0].Results;
//        }

/// <summary>
/// Obtains a grouped list of items by searching the contents of this folder. Calling this method results in a call to EWS.
/// </summary>
/// <param name="searchFilter">The search filter. Available search filter classes
/// include SearchFilter.IsEqualTo, SearchFilter.ContainsSubString and
/// SearchFilter.SearchFilterCollection</param>
/// <param name="view">The view controlling the number of items returned.</param>
/// <param name="groupBy">The grouping criteria.</param>
/// <returns>A collection of grouped items representing the contents of this folder.</returns>
// GroupedFindItemsResults<Item> FindItems(SearchFilter searchFilter, ItemView view, Grouping groupBy)
//        {
////            EwsUtilities.ValidateParam(groupBy, "groupBy");
////            EwsUtilities.ValidateParamAllowNull(searchFilter, "searchFilter");
//
//            ServiceResponseCollection<FindItemResponse<Item>> responses = this.InternalFindItems<Item>(
//                searchFilter,
//                view,
//                groupBy);
//
//            return responses[0].GroupedFindResults;
//        }

/// <summary>
/// Obtains a grouped list of items by searching the contents of this folder. Calling this method results in a call to EWS.
/// </summary>
/// <param name="queryString">query String to be used for indexed search</param>
/// <param name="view">The view controlling the number of items returned.</param>
/// <param name="groupBy">The grouping criteria.</param>
/// <returns>A collection of grouped items representing the contents of this folder.</returns>
// GroupedFindItemsResults<Item> FindItems(String queryString, ItemView view, Grouping groupBy)
//        {
////            EwsUtilities.ValidateParam(groupBy, "groupBy");
//
//            ServiceResponseCollection<FindItemResponse<Item>> responses = this.InternalFindItems<Item>(queryString, view, groupBy);
//
//            return responses[0].GroupedFindResults;
//        }

/// <summary>
/// Obtains a list of folders by searching the sub-folders of this folder. Calling this method results in a call to EWS.
/// </summary>
/// <param name="view">The view controlling the number of folders returned.</param>
/// <returns>An object representing the results of the search operation.</returns>
// FindFoldersResults FindFolders(FolderView view)
//        {
//            this.ThrowIfThisIsNew();
//
//            return this.Service.FindFolders(this.Id, view);
//        }

/// <summary>
/// Obtains a list of folders by searching the sub-folders of this folder. Calling this method results in a call to EWS.
/// </summary>
/// <param name="searchFilter">The search filter. Available search filter classes
/// include SearchFilter.IsEqualTo, SearchFilter.ContainsSubString and
/// SearchFilter.SearchFilterCollection</param>
/// <param name="view">The view controlling the number of folders returned.</param>
/// <returns>An object representing the results of the search operation.</returns>
// FindFoldersResults FindFolders(SearchFilter searchFilter, FolderView view)
//        {
//            this.ThrowIfThisIsNew();
//
//            return this.Service.FindFolders(this.Id, searchFilter, view);
//        }

/// <summary>
/// Obtains a grouped list of items by searching the contents of this folder. Calling this method results in a call to EWS.
/// </summary>
/// <param name="view">The view controlling the number of items returned.</param>
/// <param name="groupBy">The grouping criteria.</param>
/// <returns>A collection of grouped items representing the contents of this folder.</returns>
// GroupedFindItemsResults<Item> FindItems(ItemView view, Grouping groupBy)
//        {
////            EwsUtilities.ValidateParam(groupBy, "groupBy");
//
//            return this.FindItems(
//                (SearchFilter)null,
//                view,
//                groupBy);
//        }

/// <summary>
/// Get the property definition for the Id property.
/// </summary>
/// <returns>A PropertyDefinition instance.</returns>
@override
PropertyDefinition GetIdPropertyDefinition() {
  return FolderSchema.Id;
}