UIElement.PersistId 속성

정의

주의

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

이 요소를 고유하게 식별하는 값을 가져옵니다.

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

속성 값

이 요소에 대한 고유 식별자입니다.

특성

설명

PersistId 각 요소를 고유하게 식별합니다. 요소는 동일한 XAML(Extensible Application Markup Language)이 로드될 때마다 동일하게 PersistId 유지됩니다(이진 표현 포함). 이 식별자는 내부 로드, 구문 분석 및 serialization 요구 사항에 사용됩니다. 애플리케이션 코드에서 사용할 수 없습니다.

이 속성은 지정된 인스턴스의 GetHashCode 결과와 아무런 관계가 없습니다.

적용 대상