HierarchyMembersGetCriteria.Ancestors 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果为 true,则将检索提供的成员代码的上级,否则 (默认) 将检索子级
public:
property bool Ancestors { bool get(); void set(bool value); };
[System.Runtime.Serialization.DataMember]
public bool Ancestors { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.Ancestors : bool with get, set
Public Property Ancestors As Boolean
属性值
如果将要检索所提供成员代码的祖先,则为 true
;否则为 false
。
- 属性