PasswordPropertyTextAttribute Constructor (Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the PasswordPropertyTextAttribute class, optionally showing password text.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public PasswordPropertyTextAttribute(
	bool password
)

Parameters

password
Type: System.Boolean

true to indicate that the property should be shown as password text; otherwise, false. The default is false.

.NET Framework
Available since 2.0
Return to top
Show: