V8ScriptEngineSuppressExtensionMethodEnumeration Property |
Enables or disables extension method enumeration.
Namespace: Microsoft.ClearScript.V8Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.4.5
Syntax 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
BooleanRemarks
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