'Declaration Public Function SetState( _
ByVal colorThe color.As System.Drawing.Color, _
ByVal userNameThe user name.As System.String, _
ByVal stateModelThe state model.As System.String, _
ByVal stateThe state.As System.String, _
ByVal splitByUserNameA value indicating whether states must be splitted by user name.As Boolean _
) As Comment
public Comment SetState(
System.Drawing.Color color,
System.String userName,
System.String stateModel,
System.String state,
bool splitByUserName
)
public: Comment* SetState(
System.Drawing.Color* color,
System.String userName,
System.String stateModel,
System.String state,
bool splitByUserName
)
public:
Comment^ SetState(
System.Drawing.Color^ color,
System.String userName,
System.String stateModel,
System.String state,
bool splitByUserName
)
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.