2.2.7.9.5 QueryResult::GetNames


Description

Gets property of found object

Syntax

int GetNames( vector<string> & vs, QUERYRESULTNAME nType )

Parameters

vs
[output] property of found object
nType
[input] property type
enum QUERYRESULTNAME
{
	QUERYRESULTNAME_FIRST			= 0,
	QUERYRESULTNAME_FOLDER			= QUERYRESULTNAME_FIRST,
	QUERYRESULTNAME_BOOKSHEET,
	QUERYRESULTNAME_BOOK,
	QUERYRESULTNAME_BOOKLNAME,
	QUERYRESULTNAME_BOOKLNAME_EMPTY_THEN_SNAME,
	QUERYRESULTNAME_SHEET,
	QUERYRESULTNAME_SHEETLNAME,
	QUERYRESULTNAME_SHEET_DISPLAY_NAME,
	QUERYRESULTNAME_BOOK_COMMENTS,
	QUERYRESULTNAME_SHEET_COMMENTS,
	QUERYRESULTNAME_SNAME,
	QUERYRESULTNAME_LNAME,
	QUERYRESULTNAME_RANGE,
	QUERYRESULTNAME_INDEX,
	QUERYRESULTNAME_NAMEDRANGE_SCOPE_RANEG,
	QUERYRESULTNAME_COMMENTS,
};

Return

If successful then 1 else 0

Examples

See examples of Build

Remark

See Also

Header to Included

origin.h