QueryCollection.TryGetValue(String, StringValues) Méthode

Définition

Récupère une valeur de la collection.

public:
 virtual bool TryGetValue(System::String ^ key, [Runtime::InteropServices::Out] Microsoft::Extensions::Primitives::StringValues % value);
public bool TryGetValue (string key, out Microsoft.Extensions.Primitives.StringValues value);
abstract member TryGetValue : string * StringValues -> bool
override this.TryGetValue : string * StringValues -> bool
Public Function TryGetValue (key As String, ByRef value As StringValues) As Boolean

Paramètres

key
String

Clé.

value
StringValues

La valeur.

Retours

true si contient QueryCollection la clé ; sinon, false.

Implémente

S’applique à