TargetedContentImage 类

定义

public ref class TargetedContentImage sealed : IRandomAccessStreamReference
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Services.TargetedContent.TargetedContentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class TargetedContentImage final : IRandomAccessStreamReference
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Services.TargetedContent.TargetedContentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class TargetedContentImage : IRandomAccessStreamReference
Public NotInheritable Class TargetedContentImage
Implements IRandomAccessStreamReference
继承
Object Platform::Object IInspectable TargetedContentImage
属性
实现

Windows 要求

设备系列
Windows 10 Creators Update (在 10.0.15063.0 中引入)
API contract
Windows.Services.TargetedContent.TargetedContentContract (在 v1.0 中引入)
应用功能
secondaryAuthenticationFactor targetedContent

属性

Height

获取一个值,该值指示 TargetedContentImage 对象的高度。

Width

获取一个值,该值指示 TargetedContentImage 对象的宽度。

方法

OpenReadAsync()

打开流进行只读的随机访问。

适用于