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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.