DataPackagePropertySet.TryGetValue(String, Object) Metodo

Definizione

Ottiene il valore associato alla chiave specificata.

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

Parametri

key
String

Chiave del valore da ottenere.

value
Object

Quando termina, questo metodo contiene il valore se la chiave è stata trovata; in caso contrario, il valore predefinito.

Valori restituiti

Si applica a