Partager via


ShouldAddProperty(System.Reflection.PropertyInfo) Method

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

Parameters

pi     The PropertyInfo object.

Return Value

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

Requirements

Platforms: Windows Server 2003

Security: Code Access Security