IFile Property: IsReadOnly

Property Name
IsReadOnly

Property Type
Boolean

Description
Gives the read-only attribute of the File / Directory. Returns True if the given object is read-only.
This property is read-only.

Example

Dim File As IFile
Set File = GetObject("NTDS://DomainName/MachineName/file_services/c-drive/ documents/todo.doc")
Debug.Print File.IsReadOnly

 

See Also: