Поделиться через


PropertyCollection.RemoveProperty Method

Removes the property associated with the specified key.

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

Syntax

'Декларация
Public Function RemoveProperty ( _
    key As Object _
) As Boolean
public bool RemoveProperty(
    Object key
)
public:
bool RemoveProperty(
    Object^ key
)
member RemoveProperty : 
        key:Object -> bool 
public function RemoveProperty(
    key : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the property was found and removed, false if the property was not found.

Exceptions

Exception Condition
ArgumentNullException

key is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

PropertyCollection Class

Microsoft.VisualStudio.Utilities Namespace