V8ScriptEngine.SuppressInstanceMethodEnumeration Property |
Enables or disables instance method enumeration.
Namespace: Microsoft.ClearScript.V8Assembly: ClearScript.V8 (in ClearScript.V8.dll) Version: 7.5.0
Syntaxpublic 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