ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript.V8
V8ScriptEngine Class
V8ScriptEngine Properties
CpuProfileSampleInterval Property
EnableRuntimeInterruptPropagation Property
FileNameExtension Property
Global Property
MaxRuntimeHeapSize Property
MaxRuntimeStackUsage Property
RuntimeHeapSizeSampleInterval Property
RuntimeHeapSizeViolationPolicy Property
Script Property
SuppressExtensionMethodEnumeration Property
SuppressInstanceMethodEnumeration Property

# V8ScriptEngineSuppressInstanceMethodEnumeration Property

Enables or disables instance method enumeration.
Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public bool SuppressInstanceMethodEnumeration { get; set; }

    Public Property SuppressInstanceMethodEnumeration As Boolean
    	Get
    	Set

    public:
    property bool SuppressInstanceMethodEnumeration {
    	bool get ();
    	void set (bool value);
    }

    member SuppressInstanceMethodEnumeration : bool with get, set

#### Property Value

Boolean
Remarks
By default, a host object's instance methods are exposed as enumerable properties. Setting this property to true causes instance methods to be excluded from property enumeration. This affects all host objects exposed in the current script engine. Note that instance methods remain both retrievable and invocable regardless of this property's value.
See Also

#### Reference

V8ScriptEngine Class
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft