PropertyDictionary.TryGetPropertyValue Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Determina un valore che indica una proprietà da ottenere.
Overload
| TryGetPropertyValue(String, Object) |
Recupera un valore che indica una proprietà da ottenere. |
| TryGetPropertyValue<T>(String, T) |
Recupera un valore che indica una proprietà da ottenere utilizzando un elenco di elementi. |
TryGetPropertyValue(String, Object)
Recupera un valore che indica una proprietà da ottenere.
public:
virtual bool TryGetPropertyValue(System::String ^ name, [Runtime::InteropServices::Out] System::Object ^ % value);
public bool TryGetPropertyValue (string name, out object value);
abstract member TryGetPropertyValue : string * obj -> bool
override this.TryGetPropertyValue : string * obj -> bool
Public Function TryGetPropertyValue (name As String, ByRef value As Object) As Boolean
Parametri
- name
- String
Input della stringa che rappresenta il nome della proprietà.
- value
- Object
Oggetto della proprietà da ottenere.
Restituisce
true se un valore indica una proprietà da ottenere; in caso contrario, false.
Implementazioni
Si applica a
TryGetPropertyValue<T>(String, T)
Recupera un valore che indica una proprietà da ottenere utilizzando un elenco di elementi.
public:
generic <typename T>
virtual bool TryGetPropertyValue(System::String ^ name, [Runtime::InteropServices::Out] T % value);
public bool TryGetPropertyValue<T> (string name, out T value);
abstract member TryGetPropertyValue : string * 'T -> bool
override this.TryGetPropertyValue : string * 'T -> bool
Public Function TryGetPropertyValue(Of T) (name As String, ByRef value As T) As Boolean
Parametri di tipo
- T
Valore generico per l'elemento.
Parametri
- name
- String
Valore stringa che rappresenta il nome della proprietà da ottenere.
- value
- T
Valore specificato per l'elemento.
Restituisce
true se un valore indica una proprietà da ottenere tramite un elenco di elementi; in caso contrario, false.