OnlinePicture class
Represents an image that is hosted online.
Syntax
public sealed class OnlinePicture : IOnlineMediaItem
Public NotInheritable Class OnlinePicture
Implements IOnlineMediaItem
public ref class OnlinePicture sealed : IOnlineMediaItem
Members
The OnlinePicture class has these types of members:
- Methods
- Properties
Methods
The OnlinePicture class has these methods. It also inherits methods from the Object class.
Method | Description |
---|---|
GetContentAsync | Retrieves a stream containing the image data for the online picture. |
GetPictureAlbumAsync | Retrieves the OnlinePictureAlbum associated with the online picture. |
GetThumbnailLargeAsync | Retrieves a stream containing the image data for the large thumbnail for the online picture. |
GetThumbnailSmallAsync | Retrieves a stream containing the image data for the small thumbnail for the online picture. |
SetContentAsync | Sets the content of the online picture. |
SetThumbnailLargeAsync | Sets the content of the large thumbnail for the online picture. |
SetThumbnailSmallAsync | Sets the content of the small thumbnail for the online picture. |
Properties
The OnlinePicture class has these properties.
Property | Access type | Description |
---|---|---|
ContentUrl |
Read/write |
Gets or sets the url of the online picture. |
CreationTime |
Read/write |
Gets or sets the time that a media item was created. Used to enable sorting media items by date. |
Height |
Read-only |
Gets the height of the online picture. |
Id |
Read-only |
Gets a string that uniquely identifies the online picture on the device. |
RemoteId |
Read-only |
Gets a string that identifies the online picture for the service that hosts it. |
ThumbnailLargeUrl |
Read/write |
Gets or sets the url of the large thumbnail for the online picture. |
ThumbnailSmallUrl |
Read/write |
Gets or sets the url of the small thumbnail for the online picture. |
Title |
Read/write |
Gets or sets the title of the online picture. |
Width |
Read-only |
Gets the width of the online picture. |
Requirements
Minimum supported client |
None supported |
Minimum supported server |
None supported |
Minimum supported phone |
Windows Phone 8.1 [Windows Phone Silverlight 8.1 apps only] |
Namespace |
Windows.Phone.SocialInformation.OnlineMedia Windows::Phone::SocialInformation::OnlineMedia [C++] |
Metadata |
Windows.WinMD |
Attributes
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06030000)]
See also
IOnlineMediaItem