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
Syntaxpublic ScriptAccess DefaultAccess { get; set; }
Public Property DefaultAccess As ScriptAccess
Get
Set
public:
property ScriptAccess DefaultAccess {
ScriptAccess get ();
void set (ScriptAccess value);
}
member DefaultAccess : ScriptAccess with 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