Class PortalItemContentParameters
Represents the content of a portal item to use in a Add or Update operation.
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
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 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.0 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 100.15 |