Bagikan melalui


DataPackageView.SetAcceptedFormatId(String) Metode

Definisi

Menyetel Id format yang diterima.

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)

Parameter

formatId
String

Platform::String

winrt::hstring

Id format.

Persyaratan Windows

Rangkaian perangkat
Windows 10 (diperkenalkan dalam 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v2.0)

Berlaku untuk