共用方式為


TaxonomyFilterGenerator.ParseMetadataProperty Method

Expands the value of a metadata property into a list of metadata information.

Namespace:  Microsoft.Office.Server.Search.WebControls
Assembly:  Microsoft.Office.Server.Search (in Microsoft.Office.Server.Search.dll)

Syntax

'Declaration
Public Shared Function ParseMetadataProperty ( _
    compressedPropertyValue As String, _
    count As Long _
) As List(Of MetadataInfo)
'Usage
Dim compressedPropertyValue As String
Dim count As Long
Dim returnValue As List(Of MetadataInfo)

returnValue = TaxonomyFilterGenerator.ParseMetadataProperty(compressedPropertyValue, _
    count)
public static List<MetadataInfo> ParseMetadataProperty(
    string compressedPropertyValue,
    long count
)

Parameters

  • compressedPropertyValue
    Type: System.String

    The value of the metadata property to expand.

  • count
    Type: System.Int64

    The number of occurrences of the metadata property in the Search results.

Return Value

Type: System.Collections.Generic.List<MetadataInfo>
The list of metadata information.

Remarks

This method parses the value of the specified metadata property to create a list of metadata information used for refinement.

See Also

Reference

TaxonomyFilterGenerator Class

TaxonomyFilterGenerator Members

Microsoft.Office.Server.Search.WebControls Namespace