Retrieves the collection of descriptors of all currently known properties.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.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
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.
Permissions
- 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