Click or drag to resize

ScriptEngineDefaultAccess Property

Gets or sets the default script access setting for all members of exposed objects.

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.5
Syntax
public ScriptAccess DefaultAccess { get; set; }

Property Value

Type: ScriptAccess
Remarks
Use DefaultScriptUsageAttribute, ScriptUsageAttribute, or their subclasses to override this property for individual types and members. Note that this property has no effect on the method binding algorithm. If a script-based call is bound to a method that is blocked by this property, it will be rejected even if an overload exists that could receive the call.
See Also