| FileBasedProjectSetFileRole Method |
Changes the role of the file. A Scan task (
Scan) should be run after
changing the file role in this way.
Namespace: Sdl.ProjectAutomation.FileBasedAssembly: Sdl.ProjectAutomation.FileBased (in Sdl.ProjectAutomation.FileBased.dll) Version: 3.0.0.0 (3.1.5799.0)
Syntaxpublic void SetFileRole(
Guid[] projectFileIds,
FileRole fileRole
)
Public Sub SetFileRole (
projectFileIds As Guid(),
fileRole As FileRole
)
public:
virtual void SetFileRole(
array<Guid>^ projectFileIds,
FileRole fileRole
) sealed
abstract SetFileRole :
projectFileIds : Guid[] *
fileRole : FileRole -> unit
override SetFileRole :
projectFileIds : Guid[] *
fileRole : FileRole -> unit Parameters
- projectFileIds
- Type: SystemGuid
The IDs of the project files. - fileRole
- Type: Sdl.ProjectAutomation.CoreFileRole
The new FileRole value.
Implements
IProjectSetFileRole(Guid, FileRole)
See Also
Comments