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

Syntax

[System.AttributeUsage(System.AttributeTargets.All)]
public sealed class PasswordPropertyTextAttribute : Attribute

Remarks

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.

Note:

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

Requirements

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