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
'Usage
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
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
- 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
DataConnectionProperties Members
DataConnectionProperties Overload