共用方式為


IsRetrievableAttribute Class

Definition

Indicates whether the field can be returned in a search result. This defaults to true, so this attribute only has any effect if you use it as [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
Inheritance
IsRetrievableAttribute
Attributes

Constructors

IsRetrievableAttribute(Boolean)

Indicates that the specified value should be used for the IsRetrievable flag of the target field.

Properties

IsRetrievable

true if the target field should be included in search results, false otherwise.

Applies to