Share via


DataConnectionProperties.GetProperties Method

Retrieves the collection of descriptors of all currently known properties.

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

Syntax

'Declaration
Protected Function GetProperties As PropertyDescriptorCollection
'Usage
Dim returnValue As PropertyDescriptorCollection 

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

Return Value

Type: System.ComponentModel.PropertyDescriptorCollection
Returns 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 recommended that you not persist references to this collection.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

DataConnectionProperties Members

GetProperties Overload

Microsoft.VisualStudio.Data Namespace