Defines script access settings for type members.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax Public Enumeration ScriptAccess
public enum class ScriptAccess
Members Member name | Value | Description |
---|
Full | 0 |
Specifies that script code is to have full access to the type member. This is the
default setting.
|
ReadOnly | 1 |
Specifies that script code is to have read-only access to the type member. This setting
only affects fields and writable properties.
|
None | 2 |
Specifies that script code is to have no access to the type member. Note that this
setting has no effect on the method binding algorithm. If a script-based call is bound
to a method that is blocked by this setting, it will be rejected even if an overload
exists that could receive the call.
|
See Also