PropertyCollection.RemoveProperty(Object) 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.
Removes the property associated with the specified key.
public:
bool RemoveProperty(System::Object ^ key);
public:
bool RemoveProperty(Platform::Object ^ key);
bool RemoveProperty(winrt::Windows::Foundation::IInspectable const & key);
public bool RemoveProperty (object key);
member this.RemoveProperty : obj -> bool
Public Function RemoveProperty (key As Object) As Boolean
Parameters
- key
- Object
The key of the property to remove.
Returns
true
if the property was found and removed, false
if the property was not found.
Exceptions
key
is null.