Deployment Tools Foundation
ClearReadOnlyAttribute Method (baseDirectory, filePaths)
Deployment Tools Foundation Namespaces ► Microsoft.Deployment.WindowsInstaller.Package ► InstallPackage ► ClearReadOnlyAttribute(String, IEnumerable)
Clears the +R flag on the specified files in the directory of your choice.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public static void ClearReadOnlyAttribute( string baseDirectory, IEnumerable filePaths )
Public Shared Sub ClearReadOnlyAttribute ( baseDirectory As String, filePaths As IEnumerable )
public: static void ClearReadOnlyAttribute( String^ baseDirectory, IEnumerable^ filePaths )
static member ClearReadOnlyAttribute : baseDirectory : string * filePaths : IEnumerable -> unit
Parameters
- baseDirectory (String)
- This base path is prepended to each item in the filePaths collection.
- filePaths (IEnumerable)
- A collection of filePaths. If the objects within override ToString to return a valid path relative to baseDirectory this method will work.
See Also
Assembly: Microsoft.Deployment.WindowsInstaller.Package (Module: Microsoft.Deployment.WindowsInstaller.Package.dll) Version: 3.0.0.0 (3.11.1.2318)