Class PortalItemContentParameters
Represents the content of a portal item to use in an Add or Update operation.
Inheritance
System.Object
PortalItemContentParameters
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |