ShouldAddProperty(System.Reflection.PropertyInfo) Method

The ShouldAddProperty method of the CustomPropertyToolPart class specifies whether a property should be created for the specified PropertyInfo object.


pi The PropertyInfo object.

Return Value

true if the object specified by the pi parameter is added to the property; otherwise, false.


Platforms: Microsoft Windows Server 2003

Security: Code Access Security