AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetProperties 方法 (array<Attribute )
如需這個成員的說明,請參閱 GetProperties。
命名空間: Microsoft.VisualStudio.Data.Framework.AdoDotNet
組件: Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)
語法
'宣告
Private Function GetProperties ( _
attributes As Attribute() _
) As PropertyDescriptorCollection Implements ICustomTypeDescriptor.GetProperties
PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties(
Attribute[] attributes
)
private:
virtual PropertyDescriptorCollection^ GetProperties(
array<Attribute^>^ attributes
) sealed = ICustomTypeDescriptor::GetProperties
private abstract GetProperties :
attributes:Attribute[] -> PropertyDescriptorCollection
private override GetProperties :
attributes:Attribute[] -> PropertyDescriptorCollection
JScript 不支援明確介面實作。
參數
- attributes
型別:array<System.Attribute[]
當做篩選條件之型別的陣列。這可以是 nullNull 參照 (即 Visual Basic 中的 Nothing)。
傳回值
型別:System.ComponentModel.PropertyDescriptorCollection
傳回這個元件執行個體的屬性。
實作
ICustomTypeDescriptor.GetProperties(array<Attribute[])
備註
這個成員是明確介面成員實作,它只有在 ConnectionStringBuilder 轉型成 ICustomTypeDescriptor 介面時才能使用。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。