Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This method retrieves the password currently held by this password box.
Syntax
virtual HRESULT STDMETHODCALLTYPE GetPassword(
BSTR* pPassword
) = 0;
Parameters
- pPassword
[out] Pointer to a string that represents the password currently held by this password box.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
IXRPasswordBox is a part of Silverlight for Windows Embedded and is a user-mode control. Therefore, an application that runs in a different process space cannot access its Password property by calling GetPassword. This helps protect the password value from being detected by a malicious application.
.NET Framework Equivalent
System.Windows.Controls.PasswordBox.Password
Requirements
| Header | XamlRuntime.h |
| sysgen | SYSGEN_XAML_RUNTIME |
| Windows Embedded CE | Windows Embedded CE 6.0 R3 |