Compartilhar via


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)