TargetedContentFile 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示 File 类型的 TargetedContentValueKind 的 TargetedContentValue。
public ref class TargetedContentFile 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 TargetedContentFile 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 TargetedContentFile : IRandomAccessStreamReference
Public NotInheritable Class TargetedContentFile
Implements IRandomAccessStreamReference
- 继承
- 属性
- 实现
Windows 要求
设备系列 |
Windows 10 Creators Update (在 10.0.15063.0 中引入)
|
API contract |
Windows.Services.TargetedContent.TargetedContentContract (在 v1.0 中引入)
|
应用功能 |
secondaryAuthenticationFactor
targetedContent
|
方法
OpenReadAsync() |
打开流进行只读的随机访问。 |