DataPackageView.Contains(String) DataPackageView.Contains(String) DataPackageView.Contains(String) DataPackageView.Contains(String) DataPackageView.Contains(String) Method

Definition

Checks to see if the DataPackageView contains a specific data format.

public : Platform::Boolean Contains(Platform::String formatId)
bool Contains(winrt::hstring formatId) const;
public bool Contains(String formatId)
Public Function Contains(formatId As String) As bool
var bool = dataPackageView.contains(formatId);

Parameters

formatId
String String String

The name of the format.

Returns

bool bool bool

True if the DataPackageView contains the format; false otherwise.