Share via


DataPackagePropertySet.Remove(String) Method

Definition

Removes an item from the property set.

public:
 virtual void Remove(Platform::String ^ key) = IMap<Platform::String ^, Platform::Object ^>::Remove;
void Remove(winrt::hstring const& key);
public void Remove(string key);
function remove(key)
Public Sub Remove (key As String)

Parameters

key
String

Platform::String

winrt::hstring

The key.

Implements

Remarks

Use Remove if you need to delete a property from the DataPackagePropertySet object.

For more info, see IMapView(String, Object).

For the C# and Microsoft Visual Basic version of the Remove(String) method, see Remove.

Applies to