TargetedContentImage 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表 Image 類型TargetedContentValueKind的TargetedContentValue。
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
- 繼承
- 屬性
- 實作
Windows 需求
裝置系列 |
Windows 10 Creators Update (已於 10.0.15063.0 引進)
|
API contract |
Windows.Services.TargetedContent.TargetedContentContract (已於 v1.0 引進)
|
應用程式功能 |
secondaryAuthenticationFactor
targetedContent
|
屬性
Height |
取得值,指出 TargetedContentImage 物件的高度。 |
Width |
取得值,指出 TargetedContentImage 物件的寬度。 |
方法
OpenReadAsync() |
開啟唯讀隨機存取的資料流程。 |