BasicNoUIObjSandboxRules Property |
Gets or sets the sandbox rules.
Namespace: WinWrap.Basic.ServerAssembly: WinWrap.Basic.Server (in WinWrap.Basic.Server.dll)
Syntaxpublic SandboxRules SandboxRules { get; set; }
Public Property SandboxRules As SandboxRules
Get
Set
public:
virtual property SandboxRules^ SandboxRules {
SandboxRules^ get () sealed;
void set (SandboxRules^ value) sealed;
}
Property Value
SandboxRules
The sandbox rules.
Setting to null (
Nothing for Visual Basic) resets the sandbox rules to the default.
Implements
IBasicNoUISandboxRules
Remarks
Control script access to the .NET assemblies.
The sandbox rules determine which .NET types and members are allowed.
These rules are applied if Sandboxed is true.
ExamplebasicIdeCtl1.SandboxRules = new MySandboxRules();
BasicIdeCtl1.SandboxRules = New MySandboxRules
basicIdeCtl1.SandboxRules = gcnew MySandboxRules();
See Also