編輯

共用方式為


DependencyObjectType.Id Property

Definition

Gets a zero-based unique identifier for constant-time array lookup operations.

public:
 property int Id { int get(); };
public int Id { get; }
member this.Id : int
Public ReadOnly Property Id As Integer

Property Value

An internal identifier.

Remarks

Do not use for general hashing functions. There is no guarantee on this value. It can vary between application runs.

Applies to