C# Class Microsoft.OneDrive.Sdk.ItemSearchRequest

The type ItemSearchRequest.
Inheritance: BaseRequest, IItemSearchRequest
显示文件 Open project: OneDrive/onedrive-sdk-csharp Class Usage Examples

Public Methods

Method Description
Expand ( string value ) : IItemSearchRequest

Adds the specified expand value to the request.

Filter ( string value ) : IItemSearchRequest

Adds the specified filter value to the request.

GetAsync ( ) : System.Threading.Tasks.Task

Issues the GET request.

GetAsync ( CancellationToken cancellationToken ) : System.Threading.Tasks.Task

Issues the GET request.

ItemSearchRequest ( string requestUrl, IBaseClient client, IEnumerable options ) : System

Constructs a new ItemSearchRequest.

OrderBy ( string value ) : IItemSearchRequest

Adds the specified orderby value to the request.

Select ( string value ) : IItemSearchRequest

Adds the specified select value to the request.

Skip ( int value ) : IItemSearchRequest

Adds the specified skip value to the request.

Top ( int value ) : IItemSearchRequest

Adds the specified top value to the request.

Method Details

Expand() public method

Adds the specified expand value to the request.
public Expand ( string value ) : IItemSearchRequest
value string The expand value.
return IItemSearchRequest

Filter() public method

Adds the specified filter value to the request.
public Filter ( string value ) : IItemSearchRequest
value string The filter value.
return IItemSearchRequest

GetAsync() public method

Issues the GET request.
public GetAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

GetAsync() public method

Issues the GET request.
public GetAsync ( CancellationToken cancellationToken ) : System.Threading.Tasks.Task
cancellationToken CancellationToken The for the request.
return System.Threading.Tasks.Task

ItemSearchRequest() public method

Constructs a new ItemSearchRequest.
public ItemSearchRequest ( string requestUrl, IBaseClient client, IEnumerable options ) : System
requestUrl string
client IBaseClient
options IEnumerable
return System

OrderBy() public method

Adds the specified orderby value to the request.
public OrderBy ( string value ) : IItemSearchRequest
value string The orderby value.
return IItemSearchRequest

Select() public method

Adds the specified select value to the request.
public Select ( string value ) : IItemSearchRequest
value string The select value.
return IItemSearchRequest

Skip() public method

Adds the specified skip value to the request.
public Skip ( int value ) : IItemSearchRequest
value int The skip value.
return IItemSearchRequest

Top() public method

Adds the specified top value to the request.
public Top ( int value ) : IItemSearchRequest
value int The top value.
return IItemSearchRequest