共用方式為


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 命名空間