Questa documentazione è stata archiviata e non viene gestita.

Proprietà UIElement.PersistId

Gets a value that uniquely identifies this element.

Spazio dei nomi: System.Windows
Assembly: PresentationCore (in presentationcore.dll)
Spazio dei nomi XML:

public int PersistId { get; }
/** @property */
public int get_PersistId ()

public function get PersistId () : int

Non è possibile utilizzare questa proprietà in XAML.

Valore proprietà

The unique identifier for this element.

PersistId uniquely identifies each element. An element keeps the same PersistId every time the same Extensible Application Markup Language (XAML) is loaded (including binary representations). This identifier is used for internal loading, parsing and serialization requirements. It is not intended to be used by your application code.

This property has no relationship to the GetHashCode result for any given instance.

Microsoft .NET Framework 3.0 è supportato in Windows Vista, Microsoft Windows XP SP2 e Windows Server 2003 SP1.

.NET Framework

Supportato in: