共用方式為


SPField.FilterableNoRecurrence Property

Gets a Boolean value that indicates whether a filter can be created on a field in a view that does not expand recurring events.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Overridable ReadOnly Property FilterableNoRecurrence As Boolean
    Get
'Usage
Dim instance As SPField
Dim value As Boolean

value = instance.FilterableNoRecurrence
public virtual bool FilterableNoRecurrence { get; }

Property Value

Type: System.Boolean
true if a filter can be created on the field in a view that does not expand recurring events; otherwise, false.

Remarks

The FilterableNoRecurrence property works in conjunction with the Filterable property. If the Filterable property contains true, the field can be filtered in all views regardless of what the FilterableNoRecurrence property contains.

For example, if the FilterableNoRecurrence property contains false for the Title field in a list, and the Filterable property contains true, the Title field can still be filtered in any view. If the Filterable property contains false but the FilterableNoRecurrence property contains true, the field is filterable in views that do not expand recurring events, such as the All Events view for an Events list.

See Also

Reference

SPField Class

SPField Members

Microsoft.SharePoint Namespace