IComponentDesignerStateService.GetState(IComponent, String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得由該元件鍵指定的狀態項目。
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
參數
- component
- IComponent
用來擷取設計狀態項目的元件。
- key
- String
設計師州物品的名稱。
傳回
設計 component 態由 key指定。