IPropertySetSerializer 接口

定义

提供将 IPropertySet 序列化/反序列化为 IBuffer 的功能。

public interface class IPropertySetSerializer
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.Guid(1854848796, 61245, 17270, 178, 14, 91, 230, 56, 174, 172, 119)]
struct IPropertySetSerializer
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.Guid(1854848796, 61245, 17270, 178, 14, 91, 230, 56, 174, 172, 119)]
public interface IPropertySetSerializer
Public Interface IPropertySetSerializer
属性

Windows 要求

设备系列
Windows 11 (在 10.0.22000.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v14.0 中引入)

方法

Deserialize(IPropertySet, IBuffer)

从 IBuffer 反序列化 IPropertySet。

Serialize(IPropertySet)

将 IPropertySet 序列化为 IBuffer。

适用于

另请参阅

  • <xref:Windows.Storage.Streams.IPropertySetSerializer.Serialize(Windows.Foundation.Collections.IPropertySet)%0aM%3aWindows.Storage.Streams.IPropertySetSerializer.Deserialize(Windows.Foundation.Collections.IPropertySet>