EditorZoneBase.InvalidateEditorParts Método

Definição

Define a coleção de controles EditorPart associados a uma zona EditorZoneBase como null, o que resulta no método CreateEditorParts() sendo chamado para recriar a coleção.Sets the collection of EditorPart controls associated with an EditorZoneBase zone to null, which results in the CreateEditorParts() method being called to recreate the collection.

protected:
 void InvalidateEditorParts();
protected void InvalidateEditorParts ();
member this.InvalidateEditorParts : unit -> unit
Protected Sub InvalidateEditorParts ()

Comentários

O InvalidateEditorParts método pode ser chamado por classes derivadas se a lista de EditorPart controles associados a uma EditorZoneBase zona tiver sido alterada por algum motivo, e a classe derivada precisar obter uma lista atualizada de EditorPart controles.The InvalidateEditorParts method can be called by derived classes if the list of EditorPart controls associated with an EditorZoneBase zone has changed for some reason, and the derived class needs to get an updated list of EditorPart controls. A classe derivada deve chamar InvalidateEditorParts , que define a coleção atual como null .The derived class should call InvalidateEditorParts, which sets the current collection to null. Na próxima vez que a EditorParts coleção for acessada, o Web Parts conjunto de controle invocará automaticamente o CreateEditorParts método para criar a coleção atualizada.The next time that the EditorParts collection is accessed, the Web Parts control set automatically invokes the CreateEditorParts method to create the updated collection.

Aplica-se a

Confira também