C# Class Microsoft.OneDrive.Sdk.DriveSharedCollectionRequest

The type DriveSharedCollectionRequest.
Inheritance: BaseRequest, IDriveSharedCollectionRequest
ファイルを表示 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.

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

Constructs a new DriveSharedCollectionRequest.

Expand ( string value ) : IDriveSharedCollectionRequest

Adds the specified expand value to the request.

Filter ( string value ) : IDriveSharedCollectionRequest

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

Adds the specified orderby value to the request.

Select ( string value ) : IDriveSharedCollectionRequest

Adds the specified select value to the request.

Skip ( int value ) : IDriveSharedCollectionRequest

Adds the specified skip value to the request.

Top ( int value ) : IDriveSharedCollectionRequest

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

DriveSharedCollectionRequest() public method

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

Filter() public method

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

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

Select() public method

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

Skip() public method

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

Top() public method

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