IsSubproject Element
Indicates whether the task is an inserted project.
<IsSubproject>
BooleanValue
</IsSubproject>
Parent Elements
Occurrences
Minimum: 0 Maximum: 1 |
Text Value
A text value of type boolean is required.
Value |
Description |
---|---|
0 |
False |
1 |
True |
Example
The following example shows a local project file inserted as task ID 3 in a master project. The XML file for the master project includes the complete Project element for the inserted project as a child of task ID 3.
<Project xmlns="http://schemas.microsoft.com/project">
. . .
<Tasks>
. . .
<Task>
<UID>4</UID>
<ID>3</ID>
<Name>SubProj</Name>
<Type>1</Type>
. . .
<Summary>1</Summary>
<Critical>1</Critical>
<IsSubproject>1</IsSubproject>
<IsSubprojectReadOnly>0</IsSubprojectReadOnly>
<SubprojectName>C:\Project\P12\XML\Samples\SubProj.mpp</SubprojectName>
<ExternalTask>0</ExternalTask>
. . .
<Project xmlns="http://schemas.microsoft.com/project">
. . .
<Tasks>
<Task>
. . .
</Task>
. . .
</Tasks>
. . .
</Project>
</Task>
</Tasks>
. . .
</Project>