DataBus.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.
Tenta di ottenere il valore della proprietà.
Overload
| TryGetPropertyValue(String, Object) |
Tenta di ottenere il valore della proprietà con un nome e un valore specificati. |
| TryGetPropertyValue<T>(String, T) |
Tenta di ottenere il valore della proprietà con un nome e un tipo specificati. |
TryGetPropertyValue(String, Object)
Tenta di ottenere il valore della proprietà con un nome e un valore specificati.
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
Stringa che rappresenta un nome.
- value
- Object
Valore della proprietà (può essere Null).
Restituisce
True se ha esito positivo; in caso contrario, false.
Implementazioni
Si applica a
TryGetPropertyValue<T>(String, T)
Tenta di ottenere il valore della proprietà con un nome e un tipo specificati.
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
Tipo del valore della proprietà.
Parametri
- name
- String
Stringa che rappresenta un nome.
- value
- T
Il tipo di proprietà (può essere Null).
Restituisce
true se ha esito positivo; in caso contrario, false.