Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​ComponentModel.​PasswordPropertyTextAttribute
Assembly: System.ComponentModel.TypeConverter
Inheritance: object → Attribute → PasswordPropertyTextAttribute
Indicates that an object's text representation is obscured by characters such as asterisks. This class cannot be inherited.
Fields and Constants
public static readonly
PasswordPropertyTextAttribute
Default
Specifies the default value for the <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> .
public static readonly
PasswordPropertyTextAttribute
No
Specifies that a text property is not used as a password. This <see langword="static" /> ( <see langword="Shared" /> in Visual Basic) field is read-only.
public static readonly
PasswordPropertyTextAttribute
Yes
Specifies that a text property is used as a password. This <see langword="static" /> ( <see langword="Shared" /> in Visual Basic) field is read-only.
Properties
public
bool
Password
Gets a value indicating if the property for which the <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> is defined should be shown as password text.
public
object
TypeId
Methods
public
bool
Equals​(object o)
Determines whether two <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> instances are equal.
Returns <see langword="true" /> if the specified <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> is equal to the current <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> ; otherwise, <see langword="false" /> .
o
The <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> to compare with the current <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> .
public
int
GetHashCode​()
Returns the hash code for this instance.
Returns A hash code for the current <see cref="T:System.ComponentModel.PasswordPropertyTextAttribute" /> .
public
bool
IsDefaultAttribute​()
Returns an indication whether the value of this instance is the default value.
Returns <see langword="true" /> if this instance is the default attribute for the class; otherwise, <see langword="false" /> .
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object