Class PortalItemContentParameters
Represents the content of a portal item to use in an Add or Update operation.
Namespace: Esri.ArcGISRuntime.Portal
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class PortalItemContentParameters
Remarks
There are 3 possible content types:
- No content
- Text content
- File content
Optionally a thumbnail can also be added.
Constructors
| Name | Description |
|---|---|
| PortalItemContentParameters() | Initializes a new instance of the PortalItemContentParameters class without content (except Thumbnail that can be set later). |
| PortalItemContentParameters(Stream, string, MediaTypeHeaderValue) | Initializes a new instance of the PortalItemContentParameters class with file content. |
| PortalItemContentParameters(string) | Initializes a new instance of the PortalItemContentParameters class with text content. |
Properties
| Name | Description |
|---|---|
| ContentType | Gets the type of the content. |
| FileContent | Gets the file content to upload. |
| FileName | Gets the name of the file. |
| TextContent | Gets the text content. |
| Thumbnail | Gets or sets the thumbnail of the portal item. |
See Also
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 300.0 |
| .NET Windows | 100.13 - 300.0 |
| .NET Android | 200.0 - 300.0 |
| .NET iOS | 200.0 - 300.0 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |