ParenthesizePropertyNameAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
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)
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
.