ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
PropertyBag Class
PropertyBag Methods
Add Method
ClearNoCheck Method
ContainsKey Method
Remove Method
RemovePropertyNoCheck Method
SetPropertyNoCheck Method
TryGetValue Method

# PropertyBagRemove Method

Removes a property from the PropertyBag.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public bool Remove(
    	string key
    )

    Public Function Remove (
    	key As String
    ) As Boolean

    public:
    virtual bool Remove(
    	String^ key
    ) sealed

    abstract Remove :
            key : string -> bool
    override Remove :
            key : string -> bool

#### Parameters

key String
  The name of the property to remove.

#### Return Value

Boolean
True if the property was found and removed, false otherwise.

#### Implements

IDictionaryTKey, TValue Remove(TKey)
See Also

#### Reference

PropertyBag Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft