Udostępnij za pośrednictwem


BitmapTypedValue Class

Definition

A value along with an enumeration specifying its data type.

public ref class BitmapTypedValue sealed
/// [Windows.Foundation.Metadata.Activatable(Windows.Graphics.Imaging.IBitmapTypedValueFactory, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class BitmapTypedValue final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(Windows.Graphics.Imaging.IBitmapTypedValueFactory, 65536, "Windows.Foundation.UniversalApiContract")]
class BitmapTypedValue final
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Graphics.Imaging.IBitmapTypedValueFactory), 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class BitmapTypedValue
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(typeof(Windows.Graphics.Imaging.IBitmapTypedValueFactory), 65536, "Windows.Foundation.UniversalApiContract")]
public sealed class BitmapTypedValue
function BitmapTypedValue(value, type)
Public NotInheritable Class BitmapTypedValue
Inheritance
Object Platform::Object IInspectable BitmapTypedValue
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

BitmapTypedValue is immutable. In order to alter a value or data type, you must create a new object.

Constructors

BitmapTypedValue(Object, PropertyType)

Creates a new BitmapTypedValue object.

Properties

Type

Gets the PropertyType of the stored value.

Value

Gets the stored value.

Applies to