Click or drag to resize

V8ScriptEngineSuppressExtensionMethodEnumeration Property

Enables or disables extension method enumeration.

Namespace: Microsoft.ClearScript.V8
Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.4.5
Syntax
public bool SuppressExtensionMethodEnumeration { 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