Java.IO.File.SetExecutable Method
Manipulates the execute permissions for the abstract path designated by this file.

Syntax

[Android.Runtime.Register("setExecutable", "(ZZ)Z", "GetSetExecutable_ZZHandler")]
public virtual bool SetExecutable (bool p0, bool p1)

Parameters

executable
To allow execute permission if true, otherwise disallow
ownerOnly
To manipulate execute permission only for owner if true, otherwise for everyone. The manipulation will apply to everyone regardless of this value if the underlying system does not distinguish owner and other users.

Returns

Documentation for this section has not yet been entered.

Remarks

Manipulates the execute permissions for the abstract path designated by this file.

Note that this method does not throw IOException on failure. Callers must check the return value.

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 9