Skip to main content
DataPackagePropertySet.Remove method

Applies to Windows and Windows Phone

Removes a specific key-value pair from the DataPackagePropertySet.

Syntax


public bool Remove(
  KeyValuePair<String,Object> key
)

Public Function Remove(
  key As KeyValuePair(Of String,Object) 
) As Boolean

Parameters

key

Type: KeyValuePair<String,Object>

The key-value pair to remove.

Return value

Type: System.Boolean

true if the item was removed, otherwise false.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.ApplicationModel.DataTransfer

See also

DataPackagePropertySet