ShellBrowser .Net Edition
BoolToSelectionState Method (p_Value)
NamespacesJam.ShellPathSelectionListBoolToSelectionState(Boolean)
Returns a Checkstate for a given Boolean.
Declaration Syntax
C#Visual BasicVisual C++
public static CheckState BoolToSelectionState(
	bool p_Value
)
Public Shared Function BoolToSelectionState ( _
	p_Value As Boolean _
) As CheckState
public:
static CheckState BoolToSelectionState(
	bool p_Value
)
Parameters
p_Value (Boolean)
Boolean value.
Return Value
Checkstate.Checked if p_value is true. If not, Checkstate.Unchecked is returned.

Assembly: ShellBrowser (Module: ShellBrowser) Version: 4.2.1.45 (4.2.1.45)