Share via


DataViewBrowseObject.IReflect.GetProperty Method (String, BindingFlags)

Retrieves the specified property for the type of the current instance, using the specified binding constraints.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
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 does not support explicit interface implementations.

Parameters

Return Value

Type: System.Reflection.PropertyInfo
An array of PropertyInfo objects representing all the properties for the type of the current instance that match the specified binding constraints. If the type of the current instance does not have properties, or if none of the properties match the binding constraints, returns an empty array of type PropertyInfo.

Implements

IReflect.GetProperty(String, BindingFlags)

.NET Framework Security

See Also

Reference

DataViewBrowseObject Class

GetProperty Overload

Microsoft.VisualStudio.Data.Framework Namespace