Condividi tramite


QueryCollection.TryGetValue(String, StringValues) Metodo

Definizione

Recupera un valore dalla raccolta.

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

Parametri

key
String

Chiave.

value
StringValues

Valore.

Restituisce

true se contiene la QueryCollection chiave; in caso contrario, false.

Implementazioni

Si applica a