IXRPasswordBox::SetPassword (Compact 2013)

3/28/2014

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

Syntax

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

Parameters

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

Return Value

Returns an HRESULT that indicates success or no success.

.NET Framework Equivalent

System.Windows.Controls.PasswordBox.Password

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRPasswordBox
IXRPasswordBox::GetPassword