DependencyProperty.GlobalIndex DependencyProperty.GlobalIndex DependencyProperty.GlobalIndex DependencyProperty.GlobalIndex Property

定義

取得可唯一識別相依性屬性的內部產生值。Gets an internally generated value that uniquely identifies the dependency property.

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

屬性值

唯一數值識別項。A unique numeric identifier.

備註

這個值是整數, 而不是全域唯一識別碼 (GUID)。This value is an integer, not a globally unique identifier (GUID). 一般而言, 不需要使用此索引值, 而且不會對所有相依性屬性的資料表進行索引存取。Generally, using this index value is not required, and there is no index access to tables of all dependency properties. 相依性屬性應改由其識別碼欄位參考。Dependency properties should instead be referenced by their identifier fields.

GlobalIndex會在內部使用, 以便更快速地存取使用GlobalIndex當做以零為基底之陣列索引的資料結構。GlobalIndex is used internally for faster access to data structures that use the GlobalIndex as a zero-based array index. 類似的使用方式可能會有應用程式適用于設計師或工具。A similar usage might have applications for designers or tools.

適用於