Click or drag to resize

ScriptEngine Properties

The ScriptEngine type exposes the following members.

Properties
  NameDescription
Public propertyAccessContext
Allows script code to access non-public host resources.
Public propertyAllowReflection
Controls whether script code is permitted to use reflection.
Public propertyContinuationCallback
Gets or sets a callback that can be used to halt script execution.
Public propertyStatic memberCurrent
Gets the script engine that is invoking a host member on the current thread.
Public propertyDefaultAccess
Gets or sets the default script access setting for all members of exposed objects.
Public propertyDisableExtensionMethods
Enables or disables extension method support.
Public propertyDisableFloatNarrowing
Enables or disables floating point narrowing.
Public propertyDisableListIndexTypeRestriction
Enables or disables type restriction for array and list elements retrieved by index.
Public propertyDisableTypeRestriction
Enables or disables type restriction for field, property, and method return values.
Public propertyDocumentSettings
Gets or sets the script engine's document settings.
Public propertyEnableAutoHostVariables
Enables or disables automatic host variable tunneling for by-reference arguments to script functions and delegates.
Public propertyEnableNullResultWrapping
Enables or disables null wrapping for field, property, and method return values.
Public propertyEnforceAnonymousTypeAccess
Enables or disables access restrictions for anonymous types.
Public propertyExposeHostObjectStaticMembers
Controls whether host objects provide access to the static members of their exposed types to script code.
Public propertyFileNameExtension
Gets the script engine's recommended file name extension for script files.
Public propertyFormatCode
Enables or disables script code formatting.
Public propertyGlobal
Allows the host to access script resources.
Public propertyName
Gets the name associated with the script engine instance.
Public propertyScript
Allows the host to access script resources dynamically.
Public propertyUndefinedImportValue
Gets or sets the engine's undefined import value.
Public propertyUseReflectionBindFallback
Enables or disables the use of reflection-based method binding as a fallback.
Public propertyVoidResultValue
Gets or sets the engine's void result export value.
Top
See Also