Method SetThumbnail
SetThumbnail(Stream)
Sets the thumbnail for this portal item from the given data stream.
Declaration
public override void SetThumbnail(Stream imageBytes)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | imageBytes | PNG-encoded thumbnail image. |
Overrides
Remarks
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
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.4 - 100.15 |
.NET 6.0 | 100.13 - 100.15 |
.NET 6.0 Windows | 100.13 - 100.15 |
.NET Framework | 100.4 - 100.15 |
.NET 5 | 100.10 - 100.12 |
.NET Core 3.1 | 100.7 - 100.12 |
Xamarin.Android | 100.4 - 100.15 |
Xamarin.iOS | 100.4 - 100.15 |
UWP | 100.4 - 100.14 |