Show / Hide Table of Contents

Constructor PortalItemContentParameters

PortalItemContentParameters()

Initializes a new instance of the PortalItemContentParameters class without content (except Thumbnail that can be set later).

Declaration
public PortalItemContentParameters()

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8

PortalItemContentParameters(String)

Initializes a new instance of the PortalItemContentParameters class with text content.

Declaration
public PortalItemContentParameters(string textContent)
Parameters
Type Name Description
System.String textContent

Content of the text.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.0 - 200.8
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.8

PortalItemContentParameters(Stream, String, MediaTypeHeaderValue)

Initializes a new instance of the PortalItemContentParameters class with file content.

Declaration
public PortalItemContentParameters(Stream fileContent, string fileName, MediaTypeHeaderValue contentType)
Parameters
Type Name Description
System.IO.Stream fileContent

The file content to upload.

System.String fileName

The file name.

System.Net.Http.Headers.MediaTypeHeaderValue contentType

The file content type.

Applies to

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