Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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: 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.
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.