ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
IScriptEngine Interface
IScriptEngine Properties
AccessContext Property
AllowReflection Property
ContinuationCallback 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

# IScriptEngineDisableDynamicBinding Property

Enables or disables dynamic method binding.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    bool DisableDynamicBinding { get; set; }

    Property DisableDynamicBinding As Boolean
    	Get
    	Set

    property bool DisableDynamicBinding {
    	bool get ();
    	void set (bool value);
    }

    abstract DisableDynamicBinding : bool with get, set

#### Property Value

Boolean
Remarks
When this property is set to true, the script engine bypasses the default method binding algorithm and uses reflection-based method binding instead. This approach abandons support for generic type inference and other features, but it avoids engaging the dynamic infrastructure.
See Also

#### Reference

IScriptEngine Interface
Microsoft.ClearScript Namespace
UseReflectionBindFallback

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft