Share via


TriStateTreeView.SetCheckState Method

Sets the state of a check box item in a tree view control.

Namespace:  Microsoft.SqlServer.Management.Controls
Assembly:  Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)

Syntax

'Declaration
Public Sub SetCheckState ( _
    node As TreeNode, _
    state As CheckState _
)
'Usage
Dim instance As TriStateTreeView
Dim node As TreeNode
Dim state As CheckState

instance.SetCheckState(node, state)
public void SetCheckState(
    TreeNode node,
    CheckState state
)
public:
void SetCheckState(
    TreeNode^ node, 
    CheckState state
)
member SetCheckState : 
        node:TreeNode * 
        state:CheckState -> unit 
public function SetCheckState(
    node : TreeNode, 
    state : CheckState
)

Parameters