MessageProperties.TryGetValue(String, Object) Metodo

Definizione

Determina se contiene MessageProperties un nome specifico e recupera il relativo valore.

public:
 virtual bool TryGetValue(System::String ^ name, [Runtime::InteropServices::Out] System::Object ^ % value);
public bool TryGetValue(string name, out object value);
abstract member TryGetValue : string * obj -> bool
override this.TryGetValue : string * obj -> bool
Public Function TryGetValue (name As String, ByRef value As Object) As Boolean

Parametri

name
String

Nome dell'elemento da individuare.

value
Object

Valore dell'elemento trovato.

Valori restituiti

true MessageProperties se contiene un elemento con l'oggetto specificatoname; in caso contrario, false.

Si applica a