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
'Usage
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DataConnectionProperties Class