GroupCriteria2.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public Microsoft.Office.Interop.MSProject.GroupCriterion2 Add (string FieldName, bool Ascending = false, string FontName = "", int FontSize = 8, bool FontBold = false, bool FontItalic = false, bool FontUnderLine = false, Microsoft.Office.Interop.MSProject.PjColor FontColor = Microsoft.Office.Interop.MSProject.PjColor.pjBlack, Microsoft.Office.Interop.MSProject.PjColor CellColor = Microsoft.Office.Interop.MSProject.PjColor.pjColorAutomatic, Microsoft.Office.Interop.MSProject.PjBackgroundPattern Pattern = (Microsoft.Office.Interop.MSProject.PjBackgroundPattern) -1, Microsoft.Office.Interop.MSProject.PjGroupOn GroupOn = Microsoft.Office.Interop.MSProject.PjGroupOn.pjGroupOnEachValue, object StartAt = 0, object GroupInterval = 1);
abstract member Add : string * bool * string * int * bool * bool * bool * Microsoft.Office.Interop.MSProject.PjColor * Microsoft.Office.Interop.MSProject.PjColor * Microsoft.Office.Interop.MSProject.PjBackgroundPattern * Microsoft.Office.Interop.MSProject.PjGroupOn * obj * obj -> Microsoft.Office.Interop.MSProject.GroupCriterion2
Public Function Add (FieldName As String, Optional Ascending As Boolean = false, Optional FontName As String = "", Optional FontSize As Integer = 8, Optional FontBold As Boolean = false, Optional FontItalic As Boolean = false, Optional FontUnderLine As Boolean = false, Optional FontColor As PjColor = Microsoft.Office.Interop.MSProject.PjColor.pjBlack, Optional CellColor As PjColor = Microsoft.Office.Interop.MSProject.PjColor.pjColorAutomatic, Optional Pattern As PjBackgroundPattern = (Microsoft.Office.Interop.MSProject.PjBackgroundPattern) -1, Optional GroupOn As PjGroupOn = Microsoft.Office.Interop.MSProject.PjGroupOn.pjGroupOnEachValue, Optional StartAt As Object = 0, Optional GroupInterval As Object = 1) As GroupCriterion2
Parameters
- FieldName
- String
- Ascending
- Boolean
- FontName
- String
- FontSize
- Int32
- FontBold
- Boolean
- FontItalic
- Boolean
- FontUnderLine
- Boolean
- FontColor
- PjColor
- CellColor
- PjColor
- Pattern
- PjBackgroundPattern
- GroupOn
- PjGroupOn
- StartAt
- Object
- GroupInterval
- Object