Share via


FilterDescriptorCollection.Create method

Creates a new FilterDescriptor object.

Namespace:  Microsoft.SharePoint.BusinessData.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function Create ( _
    name As String, _
    isCached As Boolean, _
    filterType As FilterType, _
    filterField As String _
) As FilterDescriptor
'Usage
Dim instance As FilterDescriptorCollection
Dim name As String
Dim isCached As Boolean
Dim filterType As FilterType
Dim filterField As String
Dim returnValue As FilterDescriptor

returnValue = instance.Create(name, isCached, _
    filterType, filterField)
public FilterDescriptor Create(
    string name,
    bool isCached,
    FilterType filterType,
    string filterField
)

Parameters

  • isCached
    Type: System.Boolean

    true if the filter descriptor should be cached; otherwise, false.

Return value

Type: Microsoft.SharePoint.BusinessData.Administration.FilterDescriptor
A FilterDescriptor object.

See also

Reference

FilterDescriptorCollection class

FilterDescriptorCollection members

Microsoft.SharePoint.BusinessData.Administration namespace