Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IsRetrievableAttribute 类

定义

指示字段是否可以在搜索结果中返回。 这默认为 true,因此仅当将其用作 [IsRetrievable (false) ] 时,此属性才有任何影响。

[System.AttributeUsage(System.AttributeTargets.Property)]
public class IsRetrievableAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property)>]
type IsRetrievableAttribute = class
    inherit Attribute
Public Class IsRetrievableAttribute
Inherits Attribute
继承
IsRetrievableAttribute
属性

构造函数

IsRetrievableAttribute(Boolean)

指示指定的值应用于 IsRetrievable 目标字段的标志。

属性

IsRetrievable

true 如果目标字段应包含在搜索结果中,则为 ; false 否则为 。

适用于