UserSegmentCollection.Item - Propriété (String)
Obtient un meilleur résultat par son Url.
Espace de noms : Microsoft.Office.Server.Search.Query.Rules
Assembly : Microsoft.Office.Server.Search (dans Microsoft.Office.Server.Search.dll)
Syntaxe
'Déclaration
Public ReadOnly Default Property Item ( _
displayNames As String _
) As UserSegment
Get
'Utilisation
Dim instance As UserSegmentCollection
Dim displayNames As String
Dim value As UserSegment
value = instance(displayNames)
public UserSegment this[
string displayNames
] { get; }
Paramètres
- displayNames
Type : System.String
Valeur de propriété
Type : Microsoft.Office.Server.Search.Query.Rules.UserSegment
Exceptions
Exception | Condition |
---|---|
ArgumentException | Levée lorsque le meilleur n'existe pas dans la collection. |