OneDrive/ODConnection.public.cs
/// <summary>
/// Returns change information for items at and below the specified item-id.
/// </summary>
/// <param name="rootItemReference"></param>
/// <param name="options"></param>
/// <returns></returns>
Returns change information for items at and below the specified item-id.
Returns change information for items at and below the specified item - id .
public async Task<ODViewChangesResult> ViewChangesAsync(ODItemReference rootItemReference, ViewChangesOptions options)
        {
            if (!rootItemReference.IsValid())
                throw new ArgumentException("rootItemReference was invalid. Requires either an ID or Path");
            if (null == options)
                throw new ArgumentNullException("options");
            var queryParams = new QueryStringBuilder();
            options.ModifyQueryString(queryParams);
            Uri serviceUri = UriForItemReference(rootItemReference, ApiConstants.ViewChangesServiceAction, queryParams);
            var request = await CreateHttpRequestAsync(serviceUri, ApiConstants.HttpGet);
            return await DataModelForRequest<ODViewChangesResult>(request);
        }
public async Task < ODViewChangesResult > ViewChangesAsync ( ODItemReference rootItemReference , ViewChangesOptions options ) { if ( ! rootItemReference . IsValid ( ) ) throw new ArgumentException ( " " ) ; if ( null == options ) throw new ArgumentNullException ( " " ) ; var queryParams = new QueryStringBuilder ( ) ; options . ModifyQueryString ( queryParams ) ; Uri serviceUri = UriForItemReference ( rootItemReference , ApiConstants . ViewChangesServiceAction , queryParams ) ; var request = await CreateHttpRequestAsync ( serviceUri , ApiConstants . HttpGet ) ; return await DataModelForRequest < ODViewChangesResult > ( request ) ; }
Returns change information for items at and below the specified item-id.
Returns change information for items at and below the specified item - id .
None
rootItemReference
ODItemReference
None
options
ViewChangesOptions
None