SetState(Color,String,String,String,Boolean) Method (Comment)
Sets the state of this comment.
'Declaration
Public Function SetState( _
ByVal As System.Drawing.Color, _
ByVal As System.String, _
ByVal As System.String, _
ByVal As System.String, _
ByVal As Boolean _
) As Comment
Parameters
- color
- The color.
- userName
- The user name.
- stateModel
- The state model.
- state
- The state.
- splitByUserName
- A value indicating whether states must be splitted by user name.
Return Value
A new instance of
Comment that corresponds the state, which has been set.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5