共用方式為


BitmapTypedValue 類別

定義

值以及指定其資料類型的列舉。

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
繼承
Object Platform::Object IInspectable BitmapTypedValue
屬性

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

備註

BitmapTypedValue 是不可變的。 若要改變值或資料類型,您必須建立新的 物件。

建構函式

BitmapTypedValue(Object, PropertyType)

建立新的 BitmapTypedValue 物件。

屬性

Type

取得預存值的 PropertyType

Value

取得預存值。

適用於