IComponentDesignerStateService.GetState(IComponent, String) 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.
Gets a state item specified by the key for the given component.
public:
System::Object ^ GetState(System::ComponentModel::IComponent ^ component, System::String ^ key);
public object GetState (System.ComponentModel.IComponent component, string key);
abstract member GetState : System.ComponentModel.IComponent * string -> obj
Public Function GetState (component As IComponent, key As String) As Object
Parameters
- component
- IComponent
The component for which to retrieve the designer state item.
- key
- String
The name of the designer state item.
Returns
The designer state for component
specified by key
.
Applies to
See also
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.