DataViewBrowseObject.GetDefaultProperty 方法

检索当前的默认属性浏览对象。

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

语法

声明
Public Overridable Function GetDefaultProperty As PropertyDescriptor
public virtual PropertyDescriptor GetDefaultProperty()
public:
virtual PropertyDescriptor^ GetDefaultProperty()
abstract GetDefaultProperty : unit -> PropertyDescriptor 
override GetDefaultProperty : unit -> PropertyDescriptor 
public function GetDefaultProperty() : PropertyDescriptor

返回值

类型:System.ComponentModel.PropertyDescriptor
;如果没有属性,该属性返回当前的默认属性浏览对象或 nullnull 引用(在 Visual Basic 中为 Nothing)。

实现

ICustomTypeDescriptor.GetDefaultProperty()

.NET Framework 安全性

请参见

参考

DataViewBrowseObject 类

Microsoft.VisualStudio.Data.Framework 命名空间