Click or drag to resize

PortalItemSetThumbnailWithImage Method

Note: This API is now obsolete.

Sets the thumbnail for this portal item from the given data stream.

Namespace:  Esri.ArcGISRuntime.Portal
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
[ObsoleteAttribute("Use PortalItem.SetThumbnail(Stream)")]
public void SetThumbnailWithImage(
	Stream imageBytes


Type: System.IOStream
PNG-encoded thumbnail image.

Changes to the thumbnail are visible only locally until this item's properties are updated on the portal.

Note that deleting thumbnails from the portal is not supported. Passing null for imageBytes will result in an InvalidOperationException if a thumbnail already exists on the portal.

See Also