SocialItemThumbnail
SocialItemThumbnail
SocialItemThumbnail
SocialItemThumbnail
Class
Definition
Represents a thumbnail image associated with a social media feed item.
public : sealed class SocialItemThumbnail : ISocialItemThumbnailpublic sealed class SocialItemThumbnail : ISocialItemThumbnailPublic NotInheritable Class SocialItemThumbnail Implements ISocialItemThumbnail// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows Mobile Extension SDK (introduced v10.0.10240.0)
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
|
| API contract |
Windows.ApplicationModel.SocialInfo.SocialInfoContract (introduced v1)
|
Constructors
SocialItemThumbnail() SocialItemThumbnail() SocialItemThumbnail() SocialItemThumbnail()
Initializes a new instance of the SocialItemThumbnail class.
public : SocialItemThumbnail()public SocialItemThumbnail()Public Sub New()// You can use this method in JavaScript.
Properties
BitmapSize BitmapSize BitmapSize BitmapSize
Gets or sets the size of the thumbnail bitmap image.
public : BitmapSize BitmapSize { get; set; }public BitmapSize BitmapSize { get; set; }Public ReadWrite Property BitmapSize As BitmapSize// You can use this property in JavaScript.
The size of the thumbnail bitmap image.
ImageUri ImageUri ImageUri ImageUri
Gets or sets the Uniform Resource Identifier (URI) to the image file for this thumbnail.
public : Uri ImageUri { get; set; }public Uri ImageUri { get; set; }Public ReadWrite Property ImageUri As Uri// You can use this property in JavaScript.
- Value
- Uri Uri Uri Uri
The Uniform Resource Identifier (URI) to the image file for this thumbnail.
TargetUri TargetUri TargetUri TargetUri
Gets or sets the Uniform Resource Identifier (URI) to the target item associated with this thumbnail.
public : Uri TargetUri { get; set; }public Uri TargetUri { get; set; }Public ReadWrite Property TargetUri As Uri// You can use this property in JavaScript.
- Value
- Uri Uri Uri Uri
The Uniform Resource Identifier (URI) to the target item associated with this thumbnail.
Methods
SetImageAsync(IInputStream) SetImageAsync(IInputStream) SetImageAsync(IInputStream) SetImageAsync(IInputStream)
Asynchronously sets the image for this thumbnail from a local stream.
public : IAsyncAction SetImageAsync(IInputStream image)public IAsyncAction SetImageAsync(IInputStream image)Public Function SetImageAsync(image As IInputStream) As IAsyncAction// You can use this method in JavaScript.
Parameters
The image stream.
Returns
An async action indicating that the operation has completed.