Constructor PortalItemContentParameters
PortalItemContentParameters()
Initializes a new instance of the PortalItemContentParameters class without content (except Thumbnail that can be set later).
Declaration
public PortalItemContentParameters()
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 |
PortalItemContentParameters(String)
Initializes a new instance of the PortalItemContentParameters class with text content.
Declaration
public PortalItemContentParameters(string textContent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | textContent | Content of the text. |
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 |
PortalItemContentParameters(Stream, String, MediaTypeHeaderValue)
Initializes a new instance of the PortalItemContentParameters class with file content.
Declaration
public PortalItemContentParameters(Stream fileContent, string fileName, MediaTypeHeaderValue contentType)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.Stream | fileContent | The file content to upload. |
| System.String | fileName | The file name. |
| System.Net.Http.Headers.MediaTypeHeaderValue | contentType | The file content type. |
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 |