Show / Hide Table of Contents

Class PortalItemContentParameters

Represents the content of a portal item to use in a Add or Update operation.

Inheritance
Object
PortalItemContentParameters
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.0 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 100.15
In This Article
Back to top Copyright © 2022 Esri.