ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
IScriptEngine Interface
IScriptEngine Properties
AccessContext Property
AllowReflection Property
ContinuationCallback Property
CustomAttributeLoader Property
DefaultAccess Property
DisableDynamicBinding Property
DisableExtensionMethods Property
DisableFloatNarrowing Property
DisableListIndexTypeRestriction Property
DisableTypeRestriction Property
DocumentSettings Property
EnableAutoHostVariables Property
EnableNullResultWrapping Property
EnforceAnonymousTypeAccess Property
ExposeHostObjectStaticMembers Property
FileNameExtension Property
FormatCode Property
Global Property
HostData Property
Name Property
NullExportValue Property
NullImportValue Property
Script Property
UndefinedImportValue Property
UseReflectionBindFallback Property
VoidResultValue Property

# IScriptEngineDefaultAccess 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.5.0
Syntax
C#
VB
C++
F#
Copy

    ScriptAccess DefaultAccess { get; set; }

    Property DefaultAccess As ScriptAccess
    	Get
    	Set

    property ScriptAccess DefaultAccess {
    	ScriptAccess get ();
    	void set (ScriptAccess value);
    }

    abstract DefaultAccess : ScriptAccess with get, set

#### Property Value

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

#### Reference

IScriptEngine Interface
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft