UIElement.PersistId Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
PersistId is an obsolete property and may be removed in a future release. The value of this property is not defined.
Gets a value that uniquely identifies this element.
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
The unique identifier for this element.
- Attributes
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.
Продукт | Версии (остаряло) |
---|---|
.NET Framework | (3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |
Windows Desktop | (3.0, 3.1, 5, 6, 7, 8, 9, 10) |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: