Partager via


TermStore.GetTermSetsWithCustomProperty - Méthode (String, String, StringMatchOption)

Objets de TermSet de recherches qui ont une propriété personnalisée avec le nom fourni et la valeur fournie dans une TermStore.

Espace de noms :  Microsoft.SharePoint.Taxonomy
Assembly :  Microsoft.SharePoint.Taxonomy (dans Microsoft.SharePoint.Taxonomy.dll)

Syntaxe

'Déclaration
Public Function GetTermSetsWithCustomProperty ( _
    customPropertyName As String, _
    customPropertyValue As String, _
    stringMatchOption As StringMatchOption _
) As TermSetCollection
'Utilisation
Dim instance As TermStore
Dim customPropertyName As String
Dim customPropertyValue As String
Dim stringMatchOption As StringMatchOption
Dim returnValue As TermSetCollection

returnValue = instance.GetTermSetsWithCustomProperty(customPropertyName, _
    customPropertyValue, stringMatchOption)
public TermSetCollection GetTermSetsWithCustomProperty(
    string customPropertyName,
    string customPropertyValue,
    StringMatchOption stringMatchOption
)

Paramètres

  • customPropertyName
    Type : System.String

    Nom de la propriété.

  • customPropertyValue
    Type : System.String

    La valeur de la propriété. Si la valeur est null, la méthode recherche uniquement le nom de propriété.

Valeur renvoyée

Type : Microsoft.SharePoint.Taxonomy.TermSetCollection
Collection d'objets TermSet .

Remarques

Les résultats de la recherche sont renvoyés directement à partir de la TermStore. Le TermStore ne peut pas être synchronisé avec les modifications qui ont été effectuées, mais pas encore validées.

Voir aussi

Référence

TermStore classe

TermStore - Membres

GetTermSetsWithCustomProperty - Surcharge

Microsoft.SharePoint.Taxonomy - Espace de noms