DataConnectionProperties.ICustomTypeDescriptor.GetProperties Method

Retrieves the properties for the specified instance of a component.

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

Syntax

'宣言
Private Function GetProperties As PropertyDescriptorCollection
    Implements ICustomTypeDescriptor.GetProperties
'使用
Dim instance As DataConnectionProperties
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 a null reference (Nothing in Visual Basic).

Permissions

See Also

Reference

DataConnectionProperties Class

DataConnectionProperties Members

Microsoft.VisualStudio.Data Namespace