'Declaration
Public Function PasswordBox( _ ByVal prompt As String, _ ByVal title As String _ ) As String
Parameters
- prompt
- The prompt string for the dialog box.
- title
- The dialog box caption.
Return Value
The string entered in the dialog's text box.
'Declaration
Public Function PasswordBox( _ ByVal prompt As String, _ ByVal title As String _ ) As String
class Program { private Macro mac; private string password; public string GetPassword() { password = mac.PasswordBox("Prompt","Macro"); return password; } }