Method UpdateDataAsync
UpdateDataAsync(String)
Updates the JSON data for this portal item on the portal asynchronously. This call is available to the item owner and the administrator of the organization.
Declaration
public Task UpdateDataAsync(string json)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | json | JSON content of the portal item. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task | A task that represents the asynchronous update operation. | 
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.0 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.0 - 200.8 | 
| Xamarin.Android | 100.0 - 100.15 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 200.8 | 
UpdateDataAsync(String, CancellationToken)
Updates the JSON data for this portal item on the portal asynchronously. This call is available to the item owner and the administrator of the organization.
Declaration
public Task UpdateDataAsync(string json, CancellationToken cancellationToken)Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | json | JSON content of the portal item. | 
| System.Threading.CancellationToken | cancellationToken | A System.Threading.CancellationToken with which to cancel the operation if required. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task | A task that represents the asynchronous update operation. | 
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.2 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.0 - 200.8 | 
| Xamarin.Android | 100.0 - 100.14 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 200.8 | 
UpdateDataAsync(Stream)
Updates the file data for this portal item on the portal asynchronously. This call is available to the item owner and the administrator of the organization.
Declaration
public Task UpdateDataAsync(Stream file)Parameters
| Type | Name | Description | 
|---|---|---|
| System.IO.Stream | file | Stream of the file content data of this portal item. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task | A task that represents the asynchronous update operation. | 
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.2 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.0 - 200.8 | 
| Xamarin.Android | 100.0 - 100.14 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 200.8 | 
UpdateDataAsync(Stream, CancellationToken)
Updates the file data for this portal item on the portal asynchronously. This call is available to the item owner and the administrator of the organization.
Declaration
public Task UpdateDataAsync(Stream file, CancellationToken cancellationToken)Parameters
| Type | Name | Description | 
|---|---|---|
| System.IO.Stream | file | Stream of the file content data of this portal item. | 
| System.Threading.CancellationToken | cancellationToken | A System.Threading.CancellationToken with which to cancel the operation if required. | 
Returns
| Type | Description | 
|---|---|
| System.Threading.Tasks.Task | A task that represents the asynchronous update operation. | 
Applies to
Platforms and versions
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 | 
| .NET | 100.13 - 200.8 | 
| .NET Windows | 100.13 - 200.8 | 
| .NET Android | 200.2 - 200.8 | 
| .NET iOS | 200.0 - 200.8 | 
| .NET Framework | 100.0 - 200.8 | 
| Xamarin.Android | 100.0 - 100.14 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 200.8 |