Jaa


DataPackageView.SetAcceptedFormatId(String) Method

Definition

Sets the accepted format Id.

public:
 virtual void SetAcceptedFormatId(Platform::String ^ formatId) = SetAcceptedFormatId;
void SetAcceptedFormatId(winrt::hstring const& formatId);
public void SetAcceptedFormatId(string formatId);
function setAcceptedFormatId(formatId)
Public Sub SetAcceptedFormatId (formatId As String)

Parameters

formatId
String

Platform::String

winrt::hstring

The format Id.

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Applies to