Compartir a través de


IXRPasswordBox::GetPassword (Compact 2013)

3/28/2014

This method retrieves the password currently held by this password box.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetPassword(
    __out 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 XAML 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

See Also

Reference

IXRPasswordBox