Version

ShouldIncludeProperty Method

Used to determine which properties should be returned from the base System.ComponentModel.ICustomTypeDescriptor implementation
Syntax
'Declaration
 
Protected Overrides Function ShouldIncludeProperty( _
   ByVal propertyDescriptor As PropertyDescriptor, _
   ByVal attributes() As Attribute _
) As Boolean
protected override bool ShouldIncludeProperty( 
   PropertyDescriptor propertyDescriptor,
   Attribute[] attributes
)

Parameters

propertyDescriptor
PropertyDecriptor to be evaluated
attributes
Array of attributes passed into the GetProperties method or null if none were specified.

Return Value

Return true by default to include the specified property.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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