Share via


AdoDotNetConnectionProperties.ICustomTypeDescriptor.GetProperties Method

Retrieves the properties for the specified instance of a component.

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

Syntax

'Declaration
Private Function GetProperties As PropertyDescriptorCollection 
    Implements ICustomTypeDescriptor.GetProperties
'Usage
Dim instance As AdoDotNetConnectionProperties 
Dim returnValue As PropertyDescriptorCollection 

returnValue = CType(instance, ICustomTypeDescriptor).GetProperties()
PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties()
private:
virtual PropertyDescriptorCollection^ GetProperties() sealed = ICustomTypeDescriptor::GetProperties
JScript does not support explicit interface implementations.

Return Value

Type: System.ComponentModel.PropertyDescriptorCollection
Returns a PropertyDescriptorCollection representing the properties for this component instance.

Implements

ICustomTypeDescriptor.GetProperties()

Remarks

This method provides an implementation of the GetProperties method. For more information see the GetProperties method in the .NET Framework class library.

You can return Empty if no properties are specified. This method should never return nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

AdoDotNetConnectionProperties Members

AdoDotNetConnectionProperties Overload

Microsoft.VisualStudio.Data.AdoDotNet Namespace