ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
IScriptObject Interface
IScriptObject Methods
DeleteProperty Method
DeleteProperty(Int32) Method
DeleteProperty(String) Method

# IScriptObjectDeleteProperty(Int32) Method

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

    bool DeleteProperty(
    	int index
    )

    Function DeleteProperty (
    	index As Integer
    ) As Boolean

    bool DeleteProperty(
    	int index
    )

    abstract DeleteProperty :
            index : int -> bool

#### Parameters

index Int32
  The index of the property to remove.

#### Return Value

Boolean
True if the property was removed, false otherwise.
See Also

#### Reference

IScriptObject Interface
DeleteProperty Overload
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft