共用方式為


StandardControl.getOutputs

在元件接收新資料之前,架構會呼叫它。 根據資訊清單中定義的命名法傳回物件,並預期標示為 bound的屬性的物件 。

適用於

模型導向應用程式、畫布應用程式和入口網站。

語法

getOutputs()

備註

輸出包含每個屬性的值,其使用方式如資訊清單中所示 bound 。 例如,如果資訊清單具有名為 value 的屬性,其用法 bound為 ,而您想要將其設定為區域變數 myvalue ,則您應該傳回:

{
    value: myvalue
}

Example

public getOutputs(): IOutputs
{
    return {
        value: this._value
    };
}

控制
Power Apps 元件架構 API 參考
Power Apps 元件架構概觀