AlterLine.Property property
Read Only
Property As EAlterationType
The alteration type, which specifies the property to be altered.
The following procedure traverses a collection of property alterations and prints the value of the alteration that changes the color of queried objects. Call this procedure just before the call to qry.Define, as shown in the following example. To go to the sample code, click .
' Call from Altering Queried Objects sample
showalterprop prj, altls
'Define Query
boolVal = qry.Define(mainqrybr)
.
.
.
Sub showalterprop(prj As Project, altls As AlterLines)
Dim i As Integer
Dim altl As Variant
For i = 0 To prj.CurrQuery.AlterProp.Count - 1
Set altl = altls.Item(i)
If altl.Property = kAlterationColor Then
Debug.Print altl.Value
End If
Next i
End Sub