Freigeben über


SocialItemThumbnail Klasse

Definition

Stellt ein Miniaturbild dar, das einem Feedelement für soziale Medien zugeordnet ist.

public ref class SocialItemThumbnail sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.SocialInfo.SocialInfoContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SocialItemThumbnail final
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.SocialInfo.SocialInfoContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Deprecated("SocialItemThumbnail is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
class SocialItemThumbnail final
[Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.SocialInfo.SocialInfoContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class SocialItemThumbnail
[Windows.Foundation.Metadata.Activatable(65536, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.SocialInfo.SocialInfoContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Deprecated("SocialItemThumbnail is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
public sealed class SocialItemThumbnail
function SocialItemThumbnail()
Public NotInheritable Class SocialItemThumbnail
Vererbung
Object Platform::Object IInspectable SocialItemThumbnail
Attribute

Windows-Anforderungen

Gerätefamilie
Windows Mobile Extension SDK (eingeführt in 10.0.10240.0)
Windows 10 Anniversary Edition (eingeführt in 10.0.14393.0)
API contract
Windows.ApplicationModel.SocialInfo.SocialInfoContract (eingeführt in v1.0)

Konstruktoren

SocialItemThumbnail()

Initialisiert eine neue instance der SocialItemThumbnail-Klasse.

Eigenschaften

BitmapSize

Ruft die Größe des Bitmapbilds der Miniaturansicht ab oder legt sie fest.

ImageUri

Ruft den URI (Uniform Resource Identifier) der Bilddatei für diese Miniaturansicht ab oder legt diesen fest.

TargetUri

Ruft den URI (Uniform Resource Identifier) auf das Zielelement ab, das dieser Miniaturansicht zugeordnet ist, oder legt diesen fest.

Methoden

SetImageAsync(IInputStream)

Legt das Bild für diese Miniaturansicht aus einem lokalen Stream asynchron fest.

Gilt für: