DataViewBrowseObject.IReflect.GetProperties 方法

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

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

语法

声明
Private Function GetProperties ( _
    bindingAttr As BindingFlags _
) As PropertyInfo() Implements IReflect.GetProperties
PropertyInfo[] IReflect.GetProperties(
    BindingFlags bindingAttr
)
private:
virtual array<PropertyInfo^>^ GetProperties(
    BindingFlags bindingAttr
) sealed = IReflect::GetProperties
private abstract GetProperties : 
        bindingAttr:BindingFlags -> PropertyInfo[] 
private override GetProperties : 
        bindingAttr:BindingFlags -> PropertyInfo[] 
JScript 不支持显式接口实现。

参数

  • bindingAttr
    类型:BindingFlags

    位屏蔽指定的一个或多个 BindingFlags、如何搜索运行或零将返回空数组。

返回值

类型:array<PropertyInfo[]
数组表示与指定的约束类型的当前实例的 PropertyInfo 对象的所有属性。如果当前实例的类型不具有属性,或者,如果属性没有与约束,返回 null 的 PropertyInfo类型数组。

实现

IReflect.GetProperties(BindingFlags)

.NET Framework 安全性

请参阅

参考

DataViewBrowseObject 类

Microsoft.VisualStudio.Data.Framework 命名空间