Condividi tramite


TargetedContentFile Classe

Definizione

Rappresenta l'oggetto TargetedContentValue dell'oggetto TargetedContentValueKind di tipo File.

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
Ereditarietà
Object Platform::Object IInspectable TargetedContentFile
Attributi
Implementazioni

Requisiti Windows

Famiglia di dispositivi
Windows 10 Creators Update (è stato introdotto in 10.0.15063.0)
API contract
Windows.Services.TargetedContent.TargetedContentContract (è stato introdotto in v1.0)
Funzionalità dell'app
secondaryAuthenticationFactor targetedContent

Metodi

OpenReadAsync()

Apre un flusso per l'accesso casuale di sola lettura.

Si applica a