Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Removes the property associated with the specified key.
Namespace: Microsoft.VisualStudio.Utilities
Assembly: Microsoft.VisualStudio.CoreUtility (in Microsoft.VisualStudio.CoreUtility.dll)
Syntax
'Declaration
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
key
Type: ObjectThe key of the property to remove.
Return Value
Type: 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.