DataConnectionProperties.GetProperties Method

Retrieves the collection of descriptors of all currently known properties.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'宣言
Protected Function GetProperties As PropertyDescriptorCollection
'使用
Dim returnValue As PropertyDescriptorCollection

returnValue = Me.GetProperties()
protected PropertyDescriptorCollection GetProperties()
protected:
PropertyDescriptorCollection^ GetProperties()
protected function GetProperties() : PropertyDescriptorCollection

Return Value

Type: System.ComponentModel.PropertyDescriptorCollection

The collection of descriptors of all currently known properties.

Remarks

The set of currently known properties is dynamic; hence, calls to the AddProperty and RemoveProperty methods modify the collection that is returned by this method. Therefore, it is not recommended that you persist references to this collection.

Permissions

See Also

Reference

DataConnectionProperties Class

DataConnectionProperties Members

GetProperties Overload

Microsoft.VisualStudio.Data.Framework Namespace