IComponentDesignerStateService.GetState Method (IComponent, String)

 

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

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

object GetState(
	IComponent component,
	string key
)

Parameters

component
Type: System.ComponentModel.IComponent

The component for which to retrieve the designer state item.

key
Type: System.String

The name of the designer state item.

Return Value

Type: System.Object

The designer state for component specified by key.

.NET Framework
Available since 2.0
Return to top
Show: