Partager via


IXRPasswordBox::SetPassword (Windows Embedded CE 6.0)

1/6/2010

This method sets the password to hold in this password box.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetPassword(
    const WCHAR* pPassword
) = 0;

Parameters

  • pPassword
    [in] Pointer to a string that represents the password to hold in this password box.

Return Value

Returns an HRESULT that indicates success or failure.

.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

See Also

Reference

IXRPasswordBox
IXRPasswordBox::GetPassword