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
System.InvalidOperationException if a thumbnail already exists on the portal.
See Also
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.4 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.4 - 200.5 |
Xamarin.Android | 100.4 - 100.14 |
Xamarin.iOS | 100.4 - 100.15 |
UWP | 100.4 - 200.5 |