0 out of 2 rated this helpful - Rate this topic

DataPackageView.Contains | contains method

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

Syntax


var boolean = dataPackageView.contains(formatId);

Parameters

formatId

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The name of the format.

Return value

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

True if the DataPackageView contains the format; false otherwise.

Remarks

Windows Phone 8

This API is not implemented and will throw an exception if called.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel.DataTransfer
Windows::ApplicationModel::DataTransfer [C++]

Metadata

Windows.winmd

See also

DataPackageView

 

 

Build date: 2/25/2013

© 2013 Microsoft. All rights reserved.