System.ComponentModel.PasswordPropertyTextAttribute Class

Indicates that an object's text representation is obscured by characters such as asterisks. This class cannot be inherited.

See Also: PasswordPropertyTextAttribute Members


public sealed class PasswordPropertyTextAttribute : Attribute


If the System.ComponentModel.PasswordPropertyTextAttribute attribute is placed on a property or a type, its text representation in a property window appears as dots or asterisks to indicate a password field.


This indication in no way represents any type of encryption or security. For more information about using attributes, see Extending Metadata Using Attributes.


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