DataConnectionProperties.GetProperties 方法
擷取目前所有已知的屬性描述元集合。
命名空間: Microsoft.VisualStudio.Data.Framework
組件: Microsoft.VisualStudio.Data.Framework (在 Microsoft.VisualStudio.Data.Framework.dll 中)
語法
'宣告
Protected Function GetProperties As PropertyDescriptorCollection
protected PropertyDescriptorCollection GetProperties()
protected:
PropertyDescriptorCollection^ GetProperties()
member GetProperties : unit -> PropertyDescriptorCollection
protected function GetProperties() : PropertyDescriptorCollection
傳回值
類型:PropertyDescriptorCollection
所有目前已知的屬性描述元集合。
備註
一組目前已知屬性是動態的;因此,呼叫 AddProperty 和 RemoveProperty 方法修改這個方法傳回的集合。 因此,建議您不要保存到這個集合的參考。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。