語言

DependencyProperty.GlobalIndex 屬性

定義

取得可唯一識別相依性屬性的內部產生值。

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

屬性值

一個獨特的數字識別碼。

備註

此值為整數,而非全域唯一識別碼(GUID)。 一般來說,使用此索引值並非必要,且無法索引所有依賴屬性的資料表。 相依屬性應由其識別碼欄位來引用。

GlobalIndex 內部用於更快存取以 GlobalIndex 為零基礎陣列索引的資料結構。 類似的用途可能適用於設計師或工具。

適用於