Partager via


DataConnectionProperties.ICustomTypeDescriptor.GetProperties Method

Retrieves the properties for the specified instance of a component.

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

Syntax

'Declaration
Private Function GetProperties As PropertyDescriptorCollection 
    Implements ICustomTypeDescriptor.GetProperties
PropertyDescriptorCollection ICustomTypeDescriptor.GetProperties()
private:
virtual PropertyDescriptorCollection^ GetProperties() sealed = ICustomTypeDescriptor::GetProperties
private abstract GetProperties : unit -> PropertyDescriptorCollection  
private override GetProperties : unit -> PropertyDescriptorCollection
JScript does not support explicit interface implementations.

Return Value

Type: System.ComponentModel.PropertyDescriptorCollection
A PropertyDescriptorCollection collection 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

DataConnectionProperties Class

GetProperties Overload

Microsoft.VisualStudio.Data.Framework Namespace