IComponentDesignerStateService.SetState(IComponent, String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets a state item specified by the key for the given component.
public:
void SetState(System::ComponentModel::IComponent ^ component, System::String ^ key, System::Object ^ value);
public void SetState (System.ComponentModel.IComponent component, string key, object value);
abstract member SetState : System.ComponentModel.IComponent * string * obj -> unit
Public Sub SetState (component As IComponent, key As String, value As Object)
Parameters
- component
- IComponent
The component for which to set the designer state item.
- key
- String
The name of the designer state item.
- value
- Object
The designer state item for component
.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.