DataViewBrowseObject.IReflect.GetProperty 方法 (String, BindingFlags)

使用指定的约束约束,检索当前实例的类型的指定属性。

命名空间:  Microsoft.VisualStudio.Data.Framework
程序集:  Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)

语法

声明
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 不支持显式接口实现。

参数

返回值

类型:System.Reflection.PropertyInfo
数组表示与指定的约束约束当前实例的类型的 PropertyInfo 对象的所有属性。如果当前实例的类型没有特性,或者,如果属性没有与绑定约束,返回空数组类型 PropertyInfo

实现

IReflect.GetProperty(String, BindingFlags)

.NET Framework 安全性

请参见

参考

DataViewBrowseObject 类

GetProperty 重载

Microsoft.VisualStudio.Data.Framework 命名空间