Version

GenerateProperties Method (TypeDescriptorPropertyGenerator)

Generates PropertyGridPropertyItems for the specified object while honoring the specified PropertyGenerationOptions as well as the filters defined in the GeneratedPropertyFilter property (if any). This method must be overridden by derived generator classes.
Syntax
'Declaration
 
Public Overrides Function GenerateProperties( _
   ByVal forObject As Object, _
   ByVal generationOptions As PropertyGenerationOptions, _
   ByVal forPropertyItem As PropertyGridPropertyItem _
) As List(Of PropertyGridPropertyItem)

Parameters

forObject
The object whose properties should be inspected.
generationOptions
The options to honor when generating properties.
forPropertyItem
The PropertyGridPropertyItem that represents the property whose value is passed in the 'forObject' parameter, or null if the 'forObject' parameter represents a root object instance. This parameter should be supplied when requesting property generation for a sub-object.

Return Value

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also