See Also
You are here: Interfacing > C++ Client Interface > scdriver Namespace > Classes > CCommand Class > CCommand Methods > GetParameter Method
ContentsIndexHome
PreviousUpNext
CCommand::GetParameter Method

Read output parameter's value

C++
public: bool GetParameter(
    const char * name, 
    DATA_TYPE * type, 
    void * data, 
    const int size
);
C#
public bool GetParameter(
    const char * name, 
    DATA_TYPE * type, 
    void * data, 
    const int size
);
Visual Basic
Public Function GetParameter(
    name As const char *, 
    type As DATA_TYPE *, 
    data As void *, 
    size As const int
) As bool
Parameters
Parameters 
Description 
name 
Name of output the parameter. 
type 
Data type of the parameter. 
data 
Pointer to the buffer to receive the patameter's value. 
size 
Size in bytes of the buffer. 
Returns

If the value of the parameter's has been sucesfully read - returns true, if buffer size is not enough or parameter name does not exists - false.