IComponentDesignerStateService::SetState Method (IComponent^, String^, Object^)

 

Sets a state item specified by the key for the given component.

Namespace:   System.ComponentModel.Design
Assembly:  System.Design (in System.Design.dll)

void SetState(
	IComponent^ component,
	String^ key,
	Object^ value
)

Parameters

component
Type: System.ComponentModel::IComponent^

The component for which to set the designer state item.

key
Type: System::String^

The name of the designer state item.

value
Type: System::Object^

The designer state item for component.

.NET Framework
Available since 2.0
Return to top
Show: