提供有关方法中 updateView 更改的内容的信息。 可以在属性值、组件或浏览器调整大小事件中更改信息。
              类型:string[]
| 数组值 | 适用于 | Description | 
|---|---|---|
| 布局 | 模型驱动和画布应用 | 控件的维度已更新。 | 
| 数据集 | 模型驱动和画布应用 | 记录已更新。 | 
| 记录 | 画布应用 | 记录已更新。 | 
| columns | 画布应用 | 列已更新。 | 
| sortorder | 画布应用 | 已更新排序顺序。 | 
| 页面 | 画布应用 | 已更新分页信息。 | 
| 筛选器 | 画布应用 | 筛选已更新。 | 
| commands | 画布应用 | 命令已更新。 | 
此外,使用数据集的 加载属性 ,该属性指示数据集是否正在加载。
适用于
模型驱动和画布应用
Example
public updateView(context: ComponentFramework.Context<IInputs>): void
{
  // check if the updateView call has updated the sampleProperty
  if(context.updateProperties.indexOf("SampleProperty")> -1)
  {
      this._value = context.parameters.sampleProperty.raw;
  }
  // update isFullScreen flag based on the context
  if(-1!== context.updatedProperties.indexOf("fullscreen_open"))
  {
        this._isFullScreen =true;
  }
  else if(-1!== context.updatedProperties.indexOf("fullscreen_open"))
  {
          this._isFullScreen =false;
  }
}