ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8.FastProxy
IV8FastHostObjectOperations Interface
IV8FastHostObjectOperations Methods
DeleteProperty Method
DeleteProperty(IV8FastHostObject, Int32) Method
DeleteProperty(IV8FastHostObject, String) Method

# IV8FastHostObjectOperationsDeleteProperty(IV8FastHostObject, String) Method

Deletes a named property.
Namespace: Microsoft.ClearScript.V8.FastProxy
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    bool DeleteProperty(
    	IV8FastHostObject instance,
    	string name
    )

    Function DeleteProperty (
    	instance As IV8FastHostObject,
    	name As String
    ) As Boolean

    bool DeleteProperty(
    	IV8FastHostObject^ instance,
    	String^ name
    )

    abstract DeleteProperty :
            instance : IV8FastHostObject *
            name : string -> bool

#### Parameters

instance IV8FastHostObject
  The object whose property to delete.
name String
  The name of the property to delete.

#### Return Value

Boolean
True if the property was deleted or does not exist; false if the property exists but is not deletable.
See Also

#### Reference

IV8FastHostObjectOperations Interface
DeleteProperty Overload
Microsoft.ClearScript.V8.FastProxy Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft