ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
ScriptObject Class
ScriptObject Methods
DeleteProperty Method
DeleteProperty(Int32) Method
DeleteProperty(String) Method

# ScriptObjectDeleteProperty(String) Method

Removes a named script object property.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public abstract bool DeleteProperty(
    	string name
    )

    Public MustOverride Function DeleteProperty (
    	name As String
    ) As Boolean

    public:
    virtual bool DeleteProperty(
    	String^ name
    ) abstract

    abstract DeleteProperty :
            name : string -> bool

#### Parameters

name String
  The name of the property to remove.

#### Return Value

Boolean
True if the property was removed, false otherwise.

#### Implements

IScriptObjectDeleteProperty(String)
See Also

#### Reference

ScriptObject Class
DeleteProperty Overload
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft