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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.