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