C# Class Microsoft.OneDrive.Sdk.DriveItemsCollectionRequest

The type DriveItemsCollectionRequest.
Inheritance: BaseRequest, IDriveItemsCollectionRequest
Mostra file Open project: OneDrive/onedrive-sdk-csharp

Public Methods

Method Description
AddAsync ( Item item ) : System.Threading.Tasks.Task

Adds the specified Item to the collection via POST.

AddAsync ( Item item, CancellationToken cancellationToken ) : System.Threading.Tasks.Task

Adds the specified Item to the collection via POST.

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

Constructs a new DriveItemsCollectionRequest.

Expand ( string value ) : IDriveItemsCollectionRequest

Adds the specified expand value to the request.

Filter ( string value ) : IDriveItemsCollectionRequest

Adds the specified filter value to the request.

GetAsync ( ) : System.Threading.Tasks.Task

Gets the collection page.

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

Gets the collection page.

OrderBy ( string value ) : IDriveItemsCollectionRequest

Adds the specified orderby value to the request.

Select ( string value ) : IDriveItemsCollectionRequest

Adds the specified select value to the request.

Skip ( int value ) : IDriveItemsCollectionRequest

Adds the specified skip value to the request.

Top ( int value ) : IDriveItemsCollectionRequest

Adds the specified top value to the request.

Method Details

AddAsync() public method

Adds the specified Item to the collection via POST.
public AddAsync ( Item item ) : System.Threading.Tasks.Task
item Item The Item to add.
return System.Threading.Tasks.Task

AddAsync() public method

Adds the specified Item to the collection via POST.
public AddAsync ( Item item, CancellationToken cancellationToken ) : System.Threading.Tasks.Task
item Item The Item to add.
cancellationToken System.Threading.CancellationToken The for the request.
return System.Threading.Tasks.Task

DriveItemsCollectionRequest() public method

Constructs a new DriveItemsCollectionRequest.
public DriveItemsCollectionRequest ( string requestUrl, IBaseClient client, IEnumerable options ) : System
requestUrl string The URL for the built request.
client IBaseClient The for handling requests.
options IEnumerable Query and header option name value pairs for the request.
return System

Expand() public method

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

Filter() public method

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

GetAsync() public method

Gets the collection page.
public GetAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

GetAsync() public method

Gets the collection page.
public GetAsync ( CancellationToken cancellationToken ) : System.Threading.Tasks.Task
cancellationToken System.Threading.CancellationToken The for the request.
return System.Threading.Tasks.Task

OrderBy() public method

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

Select() public method

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

Skip() public method

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

Top() public method

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