【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.38.31 Project::GetObject
Contents
Description
Retrieves Origin object given the object unique ID
Syntax
OriginObject GetObject( UINT uid, LPCSTR lpcszGUID = NULL, BOOL bCreateInternalClass = FALSE )
Parameters
- uid
- [input] ID of object
- lpcszGUID
- [input] optional global identifier
- bCreateInternalClass
- [input] internal use
Return
OriginObject if object with unique ID equal to uid passed to function exists
Examples
EX1
void Project_GetObject_ex1() { WorksheetPage wks("Book1"); UINT uID = wks.GetUID(TRUE); Page pg; pg = (Page)Project.GetObject(uID); out_str(pg.GetName()); }
Remark
See Also
Header to Include
origin.h