TargetedContentImage Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the TargetedContentValue of the TargetedContentValueKind of type Image.
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
- Inheritance
- Attributes
- Implements
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Services.TargetedContent.TargetedContentContract (introduced in v1.0)
|
App capabilities |
secondaryAuthenticationFactor
targetedContent
|
Properties
Height |
Gets a value indicating the height of the TargetedContentImage object. |
Width |
Gets a value indicating the width of the TargetedContentImage object. |
Methods
OpenReadAsync() |
Opens a stream for read-only, random access. |