SearchRequest.TypesOnly 屬性

定義

TypesOnly 屬性 (Property),指定搜尋是否僅傳回屬性 (Attribute) 名稱,而非屬性 (Attribute) 值。

public:
 property bool TypesOnly { bool get(); void set(bool value); };
public bool TypesOnly { get; set; }
member this.TypesOnly : bool with get, set
Public Property TypesOnly As Boolean

屬性值

如果此屬性 (Property) 為 true,則搜尋僅會傳回屬性 (Attribute) 名稱。 如果此屬性 (Property) 為 false,則搜尋會同時傳回屬性 (Attribute) 名稱和值。

適用於