Share via


FilterDescriptorCollection.Create Method

NOTE: This API is now obsolete.

Creates a new FilterDescriptor object.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
Public Function Create ( _
    name As String, _
    isCached As Boolean, _
    typeName As String _
) As FilterDescriptor
'Usage
Dim instance As FilterDescriptorCollection
Dim name As String
Dim isCached As Boolean
Dim typeName As String
Dim returnValue As FilterDescriptor

returnValue = instance.Create(name, isCached, _
    typeName)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
public FilterDescriptor Create(
    string name,
    bool isCached,
    string typeName
)

Parameters

  • isCached
    Type: System.Boolean

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

  • typeName
    Type: System.String

    The type name of the filter descriptor.

Return Value

Type: Microsoft.Office.Server.ApplicationRegistry.Administration.FilterDescriptor
A FilterDescriptor object.

See Also

Reference

FilterDescriptorCollection Class

FilterDescriptorCollection Members

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace