MetadataNavigationSettings.FindConfiguredKeyFilter method

Finds a configured key filter matching the input fieldId.

Namespace:  Microsoft.Office.DocumentManagement.MetadataNavigation
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

'Declaration
Public Function FindConfiguredKeyFilter ( _
    fieldId As Guid _
) As MetadataNavigationKeyFilter
'Usage
Dim instance As MetadataNavigationSettings
Dim fieldId As Guid
Dim returnValue As MetadataNavigationKeyFilter

returnValue = instance.FindConfiguredKeyFilter(fieldId)
public MetadataNavigationKeyFilter FindConfiguredKeyFilter(
    Guid fieldId
)

Parameters

  • fieldId
    Type: System.Guid

    The field Id to search for in the settings

Return value

Type: Microsoft.Office.DocumentManagement.MetadataNavigation.MetadataNavigationKeyFilter
The configured key filter object in this instance of the MetadataNavigationSettings object with the [FieldId] value that matches the value of the fieldId; otherwise, a null reference (Nothing in Visual Basic)

See also

Reference

MetadataNavigationSettings class

MetadataNavigationSettings members

Microsoft.Office.DocumentManagement.MetadataNavigation namespace

ClearConfiguredKeyFilters()

AddConfiguredKeyFilter(MetadataNavigationKeyFilter)