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
site
Tipo: Microsoft.SharePoint.SPSiteThe SPSite object that contains the taxonomy hidden list.
termId
Tipo: System.GuidA Guid that uniquely identifies the Term.
limit
Tipo: System.Int32The 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.