Compartilhar via


Elemento de identidade (Exibir)

Usado em uma forma Novo ou Editar a campos processar ocultado usados pela forma.

                    
                      
<Identity>
</Identity>
                    

Atributos

Atributo Descrição

Nenhum

N/A

Elementos filho

Nenhum

Elementos pai

Diversos

Ocorrências

No mínimo: 0

Máximo: Unbounded

Comentários

The Identity element renders a set of hidden <INPUT> tags that allow the server to identify which item is being edited when a form is submitted, the version of the item, and the time that the item was last modified (in the case of a document library) for multiuser conflict detection.

Exemplo

The Identity element renders the following <INPUT> tags for the Edit form of the first announcement in the built-in announcements list. Esses valores são postados voltar para o servidor quando uma forma é enviada so that o servidor sabe a lista, as well as a linha, à qual o POST se refere. Valor NAME nome o owshiddenversion é usado para detecção estar em conflito com.

                    <INPUT ID=onetidIOHidden TYPE=HIDDEN NAME="List" VALUE="Announcements">
<INPUT ID=onetidIOHidden TYPE=HIDDEN NAME="ID" VALUE="1">
<INPUT ID=onetidIOHidden TYPE=HIDDEN NAME="owshiddenversion" VALUE="0">