Show / Hide Table of Contents

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

AddPortalItemAsync(PortalItem)
UpdateDataAsync(Stream, CancellationToken)

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7
In This Article
Back to top Copyright © 2022 Esri.