ICscHostObject.SetAllowUnsafeBlocks(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies a value indicating whether to allow code that uses the unsafe
keyword to compile.
public:
bool SetAllowUnsafeBlocks(bool allowUnsafeBlocks);
public bool SetAllowUnsafeBlocks (bool allowUnsafeBlocks);
abstract member SetAllowUnsafeBlocks : bool -> bool
Public Function SetAllowUnsafeBlocks (allowUnsafeBlocks As Boolean) As Boolean
Parameters
- allowUnsafeBlocks
- Boolean
true
to allow code that uses the unsafe keyword to compile; otherwise, false
.
Returns
true
if the method was successful; otherwise, false
.