NDCustomData(Byte[], Byte[]) 构造函数

定义

创建 NDCustomData 类的新实例。

public:
 NDCustomData(Platform::Array <byte> ^ customDataTypeIDBytes, Platform::Array <byte> ^ customDataBytes);
 NDCustomData(winrt::array_view <byte> const& customDataTypeIDBytes, winrt::array_view <byte> const& customDataBytes);
/// [Windows.Foundation.Metadata.Deprecated("INDCustomDataFactory is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
 NDCustomData(winrt::array_view <byte> const& customDataTypeIDBytes, winrt::array_view <byte> const& customDataBytes);
public NDCustomData(byte[] customDataTypeIDBytes, byte[] customDataBytes);
[Windows.Foundation.Metadata.Deprecated("INDCustomDataFactory is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public NDCustomData(byte[] customDataTypeIDBytes, byte[] customDataBytes);
function NDCustomData(customDataTypeIDBytes, customDataBytes)
Public Sub New (customDataTypeIDBytes As Byte(), customDataBytes As Byte())

参数

customDataTypeIDBytes

Byte[]

byte[]

自定义数据的类型标识符。 仅支持大小正好为 16 字节的类型标识符。

customDataBytes

Byte[]

byte[]

自定义数据。

属性

适用于