共用方式為


LevelDepth 屬性 (ADO MD)

指出階層根目錄與 成員之間的層級數目,

傳回值

會傳回 Long 整數,而且是唯讀的。

言論

使用 LevelDepth 屬性,判斷 Member 物件與階層根層級的距離。 根層級成員 LevelDepth為 0。 這會對應至 Level 物件的 Depth 屬性。

適用於

成員物件 (ADO MD)

另請參閱

Depth 屬性 (ADO MD)
Level 物件 (ADO MD)