Compartilhar via


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

'Declaration
Protected Function GetProperties As PropertyDescriptorCollection
protected PropertyDescriptorCollection GetProperties()
protected:
PropertyDescriptorCollection^ GetProperties()
member GetProperties : unit -> PropertyDescriptorCollection
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.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

GetProperties Overload

Microsoft.VisualStudio.Data.Framework Namespace