ScriptEngineDefaultAccess Property |
Gets or sets the default script access setting for all members of exposed objects.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public ScriptAccess DefaultAccess { get; set; }
Public Property DefaultAccess As ScriptAccess
Get
Set
public:
virtual property ScriptAccess DefaultAccess {
ScriptAccess get () sealed;
void set (ScriptAccess value) sealed;
}
abstract DefaultAccess : ScriptAccess with get, set
override DefaultAccess : ScriptAccess with get, set
Property Value
ScriptAccessImplements
IScriptEngineDefaultAccessRemarks
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