DereferenceAlias 枚举


DereferenceAlias 枚举指定如何解析别名。 该枚举提供 DerefAlias 属性的值。This enumeration provides values for the DerefAlias property.

public enum class DereferenceAlias
public enum DereferenceAlias
type DereferenceAlias = 
Public Enum DereferenceAlias


Always 3

在搜索次级和定位搜索的基对象时取消引用别名。Dereferences aliases when both searching subordinates and locating the base objects of the search.

FindingBaseObject 2

当查找该搜索的基对象,但不是在搜索其次级时,取消引用别名。Dereferences aliases when locating the base object of the search, but not when searching its subordinates.

InSearching 1

在搜索基对象的次级(而不是在定位基本身)时取消引用别名。Dereferences aliases when searching subordinates of the base object, but not when locating the base itself.

Never 0

指示该别名不会被取消引用。Indicates that the alias will not be dereferenced. 如果未设置 DerefAlias 属性,则默认值为 NeverIf the DerefAlias property is not set, the default value is Never.