Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Indicates whether a property contains sensitive information.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaration
Public Overridable Function IsSensitive ( _
propertyName As String _
) As Boolean
public virtual bool IsSensitive(
string propertyName
)
public:
virtual bool IsSensitive(
String^ propertyName
)
abstract IsSensitive :
propertyName:string -> bool
override IsSensitive :
propertyName:string -> bool
public function IsSensitive(
propertyName : String
) : boolean
Parameters
- propertyName
Type: System.String
The name of the property.
Return Value
Type: System.Boolean
Returns true if the property contains sensitive information; otherwise, returns false.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | The propertyName parameter is null. |
| ArgumentException | The property does not exist. |
Remarks
The base implementation of this method retrieves the PasswordPropertyTextAttribute attribute for the specified property and return true if this attribute is set to true; otherwise it returns false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.