ImageSourceTypeConverter.GetProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a collection of property descriptions for the specified type.
public:
override System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ value, cli::array <Attribute ^> ^ attributes);
public override System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext context, object value, Attribute[] attributes);
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overrides Function GetProperties (context As ITypeDescriptorContext, value As Object, attributes As Attribute()) As PropertyDescriptorCollection
Parameters
- context
- ITypeDescriptorContext
An object that provides contextual information.
- value
- Object
An object that you need property descriptions for.
- attributes
- Attribute[]
An array of attributes that are used to filter the returned collection in order to exclude irrelevant properties.
Returns
A PropertyDescriptorCollection that contains the property descriptions that are exposed for the component; or null
if no property descriptions are returned.
Exceptions
This method is called from this class instead of from a derived class.
Remarks
This method is not implemented in this class - except to throw the exception. See Notes for Inheritors.
Notes to Inheritors
Override this method to provide a method for obtaining selected PropertyDescriptor objects for the types. Use the context
parameter to extract additional information about the environment from which this converter is invoked. Use the attributes
array to designate the properties to include or to exclude.
Applies to
.NET