Compartir a través de


DataBus.TryGetPropertyValue Método

Definición

Intenta obtener el valor de la propiedad.

Sobrecargas

TryGetPropertyValue(String, Object)

Intenta obtener el valor de propiedad con un nombre especificado y valor.

TryGetPropertyValue<T>(String, T)

Intenta obtener el valor de propiedad con un nombre y tipo especificados.

TryGetPropertyValue(String, Object)

Intenta obtener el valor de propiedad con un nombre especificado y valor.

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

Parámetros

name
String

Cadena que representa un nombre.

value
Object

Valor de propiedad (puede ser NULL).

Devoluciones

True si es correcto; en caso contrario, false.

Implementaciones

Se aplica a

TryGetPropertyValue<T>(String, T)

Intenta obtener el valor de propiedad con un nombre y tipo especificados.

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

Parámetros de tipo

T

El tipo de valor de la propiedad.

Parámetros

name
String

Cadena que representa un nombre.

value
T

Tipo de la propiedad (puede ser NULL).

Devoluciones

true si es correcto; en caso contrario, false.

Implementaciones

Se aplica a