ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
ScriptEngine Class
ScriptEngine Properties
AccessContext Property
AllowReflection Property
ContinuationCallback Property
Current Property
CustomAttributeLoader Property
DefaultAccess Property
DisableDynamicBinding Property
DisableExtensionMethods Property
DisableFloatNarrowing Property
DisableListIndexTypeRestriction Property
DisableTypeRestriction Property
DocumentSettings Property
EnableAutoHostVariables Property
EnableNullResultWrapping Property
EnforceAnonymousTypeAccess Property
ExposeHostObjectStaticMembers Property
FileNameExtension Property
FormatCode Property
Global Property
HostData Property
Name Property
NullExportValue Property
NullImportValue Property
Script Property
UndefinedImportValue Property
UseReflectionBindFallback Property
VoidResultValue Property

# ScriptEngineUseReflectionBindFallback Property

Enables or disables the use of reflection-based method binding as a fallback.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public bool UseReflectionBindFallback { get; set; }

    Public Property UseReflectionBindFallback As Boolean
    	Get
    	Set

    public:
    virtual property bool UseReflectionBindFallback {
    	bool get () sealed;
    	void set (bool value) sealed;
    }

    abstract UseReflectionBindFallback : bool with get, set
    override UseReflectionBindFallback : bool with get, set

#### Property Value

Boolean

#### Implements

IScriptEngineUseReflectionBindFallback
Remarks

When this property is set to true, the script engine attempts to use reflection-based method binding when the default method binding algorithm fails. This approach reduces type safety, but it may be useful for running legacy scripts that rely on the specific behavior of reflection-based method binding.

This property has no effect when DisableDynamicBinding is set to true.

See Also

#### Reference

ScriptEngine Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft