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

# V8ScriptEngineSuppressExtensionMethodEnumeration Property

Enables or disables extension 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 SuppressExtensionMethodEnumeration { get; set; }

    Public Property SuppressExtensionMethodEnumeration As Boolean
    	Get
    	Set

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

    member SuppressExtensionMethodEnumeration : bool with get, set

#### Property Value

Boolean
Remarks

By default, all exposed extension methods appear as enumerable properties of all host objects, regardless of type. Setting this property to true causes extension methods to be excluded from property enumeration. This affects all host objects exposed in the current script engine. Note that extension methods remain both retrievable and invocable regardless of this property's value.

This property has no effect if SuppressInstanceMethodEnumeration is set to true.

See Also

#### Reference

V8ScriptEngine Class
Microsoft.ClearScript.V8 Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft