This documentation is archived and is not being maintained.

ParenthesizePropertyNameAttribute Class

Indicates whether the name of the associated property is displayed with parentheses in the Properties window. This class cannot be inherited.

For a list of all members of this type, see ParenthesizePropertyNameAttribute Members.


[Visual Basic]
NotInheritable Public Class ParenthesizePropertyNameAttribute
   Inherits Attribute
public sealed class ParenthesizePropertyNameAttribute : Attribute
public __gc __sealed class ParenthesizePropertyNameAttribute :
   public Attribute
class ParenthesizePropertyNameAttribute extends Attribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


A ParenthesizePropertyNameAttribute with a NeedParenthesis value of true indicates to the Properties window that the associated property should be displayed with parentheses around its name. The Properties window displays a property with parentheses around its name near the top of the list in alphabetical mode, or near the top of its category if the Properties window is in categorize mode.


Namespace: System.ComponentModel

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

ParenthesizePropertyNameAttribute Members | System.ComponentModel Namespace