DependencyProperty.GlobalIndex 屬性

定義

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

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

屬性值

Int32

唯一數值識別項。

備註

這個值是整數,而不是全域唯一識別碼 (GUID) 。 一般而言,不需要使用此索引值,而且沒有索引存取所有相依性屬性的資料表。 相依性屬性應該改為由其識別碼欄位參考。

GlobalIndex 會在內部使用 ,以便更快速地存取使用 GlobalIndex 做為以零起始的陣列索引的資料結構。 類似的使用方式可能有設計工具的應用程式。

適用於