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
name
Type: System.StringThe name of the filter descriptor.
isCached
Type: System.Booleantrue if the filter descriptor should be cached; otherwise, false.
filterType
Type: Microsoft.BusinessData.MetadataModel.FilterTypeThe type of the filter.
filterField
Type: System.StringThe filter field string.
Return value
Type: Microsoft.SharePoint.BusinessData.Administration.FilterDescriptor
A FilterDescriptor object.
See also
Reference
FilterDescriptorCollection class