DataViewBrowseObject.IReflect.GetProperty (Método) (String, BindingFlags)

Recupera la propiedad especificada para el tipo de la instancia actual, con las restricciones de enlace especificadas.

Espacio de nombres:  Microsoft.VisualStudio.Data.Framework
Ensamblado:  Microsoft.VisualStudio.Data.Framework (en Microsoft.VisualStudio.Data.Framework.dll)

Sintaxis

'Declaración
Private Function GetProperty ( _
    name As String, _
    bindingAttr As BindingFlags _
) As PropertyInfo Implements IReflect.GetProperty
PropertyInfo IReflect.GetProperty(
    string name,
    BindingFlags bindingAttr
)
private:
virtual PropertyInfo^ GetProperty(
    String^ name, 
    BindingFlags bindingAttr
) sealed = IReflect::GetProperty
private abstract GetProperty : 
        name:string * 
        bindingAttr:BindingFlags -> PropertyInfo 
private override GetProperty : 
        name:string * 
        bindingAttr:BindingFlags -> PropertyInfo 
JScript no admite implementaciones explícitas de interfaces.

Parámetros

  • name
    Tipo: System.String
    Nombre de la propiedad que se va a obtener.

Valor devuelto

Tipo: System.Reflection.PropertyInfo
Matriz de los objetos de PropertyInfo que representan todas las propiedades del tipo de la instancia actual que coinciden con las restricciones de enlace especificadas.Si el tipo de la instancia actual no tiene propiedades, o si cualquiera de las propiedades las restricciones de enlace, retornos una matriz vacía de PropertyInfoescrito.

Implementaciones

IReflect.GetProperty(String, BindingFlags)

Seguridad de .NET Framework

Vea también

Referencia

DataViewBrowseObject Clase

GetProperty (Sobrecarga)

Microsoft.VisualStudio.Data.Framework (Espacio de nombres)