Bewerken

Share via


ParenthesizePropertyNameAttribute Constructors

Definition

Initializes a new instance of the ParenthesizePropertyNameAttribute class that indicates that the associated property should not be shown with parentheses.

Overloads

ParenthesizePropertyNameAttribute()

Initializes a new instance of the ParenthesizePropertyNameAttribute class that indicates that the associated property should not be shown with parentheses.

ParenthesizePropertyNameAttribute(Boolean)

Initializes a new instance of the ParenthesizePropertyNameAttribute class, using the specified value to indicate whether the attribute is displayed with parentheses.

ParenthesizePropertyNameAttribute()

Source:
ParenthesizePropertyNameAttribute.cs
Source:
ParenthesizePropertyNameAttribute.cs
Source:
ParenthesizePropertyNameAttribute.cs

Initializes a new instance of the ParenthesizePropertyNameAttribute class that indicates that the associated property should not be shown with parentheses.

public:
 ParenthesizePropertyNameAttribute();
public ParenthesizePropertyNameAttribute ();
Public Sub New ()

Applies to

ParenthesizePropertyNameAttribute(Boolean)

Source:
ParenthesizePropertyNameAttribute.cs
Source:
ParenthesizePropertyNameAttribute.cs
Source:
ParenthesizePropertyNameAttribute.cs

Initializes a new instance of the ParenthesizePropertyNameAttribute class, using the specified value to indicate whether the attribute is displayed with parentheses.

public:
 ParenthesizePropertyNameAttribute(bool needParenthesis);
public ParenthesizePropertyNameAttribute (bool needParenthesis);
new System.ComponentModel.ParenthesizePropertyNameAttribute : bool -> System.ComponentModel.ParenthesizePropertyNameAttribute
Public Sub New (needParenthesis As Boolean)

Parameters

needParenthesis
Boolean

true if the name should be enclosed in parentheses; otherwise, false.

Applies to