C# Class Microsoft.OneDrive.Sdk.DriveSpecialCollectionRequest

The type DriveSpecialCollectionRequest.
Inheritance: BaseRequest, IDriveSpecialCollectionRequest
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.

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

Constructs a new DriveSpecialCollectionRequest.

Expand ( string value ) : IDriveSpecialCollectionRequest

Adds the specified expand value to the request.

Filter ( string value ) : IDriveSpecialCollectionRequest

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 ) : IDriveSpecialCollectionRequest

Adds the specified orderby value to the request.

Select ( string value ) : IDriveSpecialCollectionRequest

Adds the specified select value to the request.

Skip ( int value ) : IDriveSpecialCollectionRequest

Adds the specified skip value to the request.

Top ( int value ) : IDriveSpecialCollectionRequest

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

DriveSpecialCollectionRequest() public method

Constructs a new DriveSpecialCollectionRequest.
public DriveSpecialCollectionRequest ( 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 ) : IDriveSpecialCollectionRequest
value string The expand value.
return IDriveSpecialCollectionRequest

Filter() public method

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

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 ) : IDriveSpecialCollectionRequest
value string The orderby value.
return IDriveSpecialCollectionRequest

Select() public method

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

Skip() public method

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

Top() public method

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