AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetProperties 方法 (array<Attribute )
擷取指定的元件執行個體的屬性使用屬性陣列做為篩選條件。
命名空間: Microsoft.VisualStudio.Data.AdoDotNet
組件: Microsoft.VisualStudio.Data (在 Microsoft.VisualStudio.Data.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[]
用於型別的陣列, Attribute 所傳回之的屬性為基礎的篩選條件定義。
傳回值
型別:System.ComponentModel.PropertyDescriptorCollection
傳回表示這個元件執行個體的已篩選屬性的型別的陣列 Attribute 。
實作
ICustomTypeDescriptor.GetProperties(array<Attribute[])
備註
這個方法 GetProperties提供方法的實作。如需詳細資訊 .NET Framework 在類別庫中看到 GetProperties 方法。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。