C# Class Microsoft.OneDrive.Sdk.OneDriveSharesCollectionRequest

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

Public Methods

Method Description
AddAsync ( Share share ) : System.Threading.Tasks.Task

Adds the specified Share to the collection via POST.

AddAsync ( Share share, CancellationToken cancellationToken ) : System.Threading.Tasks.Task

Adds the specified Share to the collection via POST.

Expand ( string value ) : IOneDriveSharesCollectionRequest

Adds the specified expand value to the request.

Filter ( string value ) : IOneDriveSharesCollectionRequest

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.

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

Constructs a new OneDriveSharesCollectionRequest.

OrderBy ( string value ) : IOneDriveSharesCollectionRequest

Adds the specified orderby value to the request.

Select ( string value ) : IOneDriveSharesCollectionRequest

Adds the specified select value to the request.

Skip ( int value ) : IOneDriveSharesCollectionRequest

Adds the specified skip value to the request.

Top ( int value ) : IOneDriveSharesCollectionRequest

Adds the specified top value to the request.

Method Details

AddAsync() public method

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

AddAsync() public method

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

Expand() public method

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

Filter() public method

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

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 CancellationToken The for the request.
return System.Threading.Tasks.Task

OneDriveSharesCollectionRequest() public method

Constructs a new OneDriveSharesCollectionRequest.
public OneDriveSharesCollectionRequest ( 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

OrderBy() public method

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

Select() public method

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

Skip() public method

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

Top() public method

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