共用方式為


DataConnectionProperties.ICustomTypeDescriptor.GetProperties 方法

擷取元件的指定執行個體的屬性。

命名空間:  Microsoft.VisualStudio.Data.Framework
組件:  Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.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 方法的實作。 如需詳細資訊,請參閱 GetProperties 方法至 .NET Framework 類別庫中。

如果未指定屬性,您可以傳回 Empty 。 這個方法應該不會傳回 nullnull 參考 (即 Visual Basic 中的 Nothing)。

.NET Framework 安全性

請參閱

參考

DataConnectionProperties 類別

GetProperties 多載

Microsoft.VisualStudio.Data.Framework 命名空間