DataPackageView.SetAcceptedFormatId(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
|