Export (0) Print
Expand All

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.

System.Object
   System.Attribute
      System.ComponentModel.ParenthesizePropertyNameAttribute

[Visual Basic]
<AttributeUsage(AttributeTargets.All)>
NotInheritable Public Class ParenthesizePropertyNameAttribute
   Inherits Attribute
[C#]
[AttributeUsage(AttributeTargets.All)]
public sealed class ParenthesizePropertyNameAttribute : Attribute
[C++]
[AttributeUsage(AttributeTargets::All)]
public __gc __sealed class ParenthesizePropertyNameAttribute :
   public Attribute
[JScript]
public
   AttributeUsage(AttributeTargets.All)
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.

Remarks

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.

Requirements

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

Show:
© 2014 Microsoft