UIElement.PersistId Propriedade

Definição

Atenção

PersistId is an obsolete property and may be removed in a future release. The value of this property is not defined.

Obtém um valor que identifica de forma única este elemento.

public:
 property int PersistId { int get(); };
[System.Obsolete("PersistId is an obsolete property and may be removed in a future release.  The value of this property is not defined.")]
public int PersistId { get; }
[<System.Obsolete("PersistId is an obsolete property and may be removed in a future release.  The value of this property is not defined.")>]
member this.PersistId : int
Public ReadOnly Property PersistId As Integer

Valor de Propriedade

O identificador único para este elemento.

Atributos

Observações

PersistId identifica cada elemento de forma única. Um elemento mantém-se igual PersistId sempre que a mesma Extensible Application Markup Language (XAML) é carregada (incluindo representações binárias). Este identificador é usado para requisitos internos de carregamento, análise sintática e serialização. Não se destina a ser utilizado pelo seu código de aplicação.

Esta propriedade não tem relação com o GetHashCode resultado para qualquer instância.

Aplica-se a