Compartir a través de


del método TaxonomyField.GetWssIdsOfKeywordTerm

Gets an array of the list item IDs of all the list items in the taxonomy hidden list where the Enterprise Keywords field contains the specified Term object.

Espacio de nombres:  Microsoft.SharePoint.Taxonomy
Ensamblado:  Microsoft.SharePoint.Taxonomy (en Microsoft.SharePoint.Taxonomy.dll)

Sintaxis

'Declaración
Public Shared Function GetWssIdsOfKeywordTerm ( _
    site As SPSite, _
    termId As Guid, _
    limit As Integer _
) As Integer()
'Uso
Dim site As SPSite
Dim termId As Guid
Dim limit As Integer
Dim returnValue As Integer()

returnValue = TaxonomyField.GetWssIdsOfKeywordTerm(site, _
    termId, limit)
public static int[] GetWssIdsOfKeywordTerm(
    SPSite site,
    Guid termId,
    int limit
)

Parámetros

  • limit
    Tipo: System.Int32

    The maximum number of list item IDs to return

Valor devuelto

Tipo: []
An array of list item IDs of all the list items in the taxonomy hidden list of the specifiedSPSite that contain the specified keyword.

Comentarios

If the site parameter is una referencia null (Nothing en Visual Basic) or the limit parameter is negative, the method will return an empty array.

Vea también

Referencia

clase TaxonomyField

Miembros TaxonomyField

Espacio de nombres Microsoft.SharePoint.Taxonomy

Microsoft.SharePoint.Taxonomy

Microsoft.SharePoint