BitmapTypedValue BitmapTypedValue BitmapTypedValue BitmapTypedValue Class

Definition

A value along with an enumeration specifying its data type.

public : sealed class BitmapTypedValue : IBitmapTypedValue
public sealed class BitmapTypedValue : IBitmapTypedValue
Public NotInheritable Class BitmapTypedValue Implements IBitmapTypedValue
var bitmapTypedValue = new bitmapTypedValue(value, type);
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

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

Constructors

BitmapTypedValue(Object, PropertyType) BitmapTypedValue(Object, PropertyType) BitmapTypedValue(Object, PropertyType) BitmapTypedValue(Object, PropertyType)

Creates a new BitmapTypedValue object.

public : BitmapTypedValue(Platform::Object value, PropertyType type)
public BitmapTypedValue(Object value, PropertyType type)
Public Sub New(value As Object, type As PropertyType)
var bitmapTypedValue = new bitmapTypedValue(value, type);
Parameters
value
Platform::Object Object Object Object

The value to store.

type
PropertyType PropertyType PropertyType PropertyType

The type of the value parameter.

Properties

Type Type Type Type

Gets the PropertyType of the stored value.

public : PropertyType Type { get; }
public PropertyType Type { get; }
Public ReadOnly Property Type As PropertyType
var propertyType = bitmapTypedValue.type;

Value Value Value Value

Gets the stored value.

public : Platform::Object Value { get; }
public object Value { get; }
Public ReadOnly Property Value As object
var object = bitmapTypedValue.value;
Value
Platform::Object object object object

The stored value Object.