Compartilhar via


MetadataNavigationSettings.FindConfiguredHierarchy Method

Finds a configured hierarchy that matches the input fieldId.

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

Syntax

'Declaration
Public Function FindConfiguredHierarchy ( _
    fieldId As Guid _
) As MetadataNavigationHierarchy
'Usage
Dim instance As MetadataNavigationSettings
Dim fieldId As Guid
Dim returnValue As MetadataNavigationHierarchy

returnValue = instance.FindConfiguredHierarchy(fieldId)
public MetadataNavigationHierarchy FindConfiguredHierarchy(
    Guid fieldId
)

Parameters

  • fieldId
    Type: System.Guid

    The field Id to search for in the settings

Return Value

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

See Also

Reference

MetadataNavigationSettings Class

MetadataNavigationSettings Members

Microsoft.Office.DocumentManagement.MetadataNavigation Namespace

ClearConfiguredHierarchies()

AddConfiguredHierarchy(MetadataNavigationHierarchy)