Visual Basic | |
---|---|
Function PromptForString( _ ByVal IgnoreSpaces As System.Boolean, _ ByVal Prompt As System.String, _ ByVal DefaultString As System.String, _ ByRef ResultString As System.String _ ) As System.Boolean |
C# | |
---|---|
System.bool PromptForString( System.bool IgnoreSpaces, System.string Prompt, System.string DefaultString, out System.string ResultString ) |
JavaScript | |
---|---|
PromptForString( IgnoreSpaces : Boolean, Prompt : String, DefaultString : String ) : { ResultString : String, Result : Boolean } |
COM native C++ | |
---|---|
HRESULT PromptForString( VARIANT_BOOL IgnoreSpaces, BSTR Prompt, BSTR DefaultString, BSTR* ResultString, VARIANT_BOOL* Result ) |
C++ | |
---|---|
DSRESULT PromptForString( bool IgnoreSpaces, const dsString& Prompt, const dsString& DefaultString, dsString* ResultString, bool* Result ) |
Parameters
- IgnoreSpaces
- True to ignore spaces, false to not
- Prompt
- Prompt message
- DefaultString
- Default value
- ResultString[out]
User input value
- Result[out] or Return Value
- True if the prompt appears in the command window, false if not
ICommandMessage Interface
ICommandMessage Members
ICommandMessage::PromptForStringOrKeyword Method ()
ICommandMessage Members
ICommandMessage::PromptForStringOrKeyword Method ()
DraftSight V1R1.4