DataConnectionProperties.ICustomTypeDescriptor.GetProperties 方法

检索元素的指定实例的属性。

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

语法

声明
Private Function GetProperties As PropertyDescriptorCollection 
    Implements ICustomTypeDescriptor.GetProperties
PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties()
private:
virtual PropertyDescriptorCollection^ GetProperties() sealed = ICustomTypeDescriptor::GetProperties
private abstract GetProperties : unit -> PropertyDescriptorCollection  
private override GetProperties : unit -> PropertyDescriptorCollection
JScript 不支持显式接口实现。

返回值

类型:PropertyDescriptorCollection
返回表示此组件实例的 PropertyDescriptorCollection 属性。

实现

ICustomTypeDescriptor.GetProperties

备注

此方法提供 GetProperties 方法的实现。 有关更多信息在 .NET Framework 选件类库中看到 GetProperties 方法。

如果未指定属性,则可以返回 Empty。 此方法决不应返回 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参阅

参考

DataConnectionProperties 类

GetProperties 重载

Microsoft.VisualStudio.Data 命名空间