PropertyCollection::RemoveProperty Method (Object^)

 

Removes the property associated with the specified key.

Namespace:   Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)

public:
bool RemoveProperty(
	Object^ key
)

Parameters

key
Type: System::Object^

The key of the property to remove.

Return Value

Type: System::Boolean

true if the property was found and removed, false if the property was not found.

Exception Condition
ArgumentNullException

key is null.

Return to top
Show: