API Reference > Extension Classes > ExServices Classes > ExStringIO Class > ExStringIO Methods > ExStringIO::getString Method
ExStringIO::getString Method
Syntax
C++
OdString getString(const OdString& prompt, int options = OdEd::kInpDefault, OdEdStringTracker* pTracker = 0);
Parameters 
Description 
const OdString& prompt 
[in] Prompt output before pausing for user input.  
int options = OdEd::kInpDefault 
[in] Combination of OdEd::CommonInputOptions and OdEd::GetStringOptions enum values.  
OdEdStringTracker* pTracker = 0 
[in] Pointer to an IO Tracker for this user input. 

Returns user input of a string. 

 

If prompt is empty, a default prompt is used. 

This function uses the underlying OdEdBaseIO function putString for low level output.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.