CAA
CATICkeParmFactory_var spParmFactory = spCont;//pPartContainer
// Create a String
CATICkeParm_var spPara = spParmFactory->CreateString(uParaName,uParaValue);
spPara-> SetUserAccess(CATICkeParm::User);//设置用户权限,否则不显示
CATISpecAttribute_var spMyParam = spObject->AddAttribute(uParaName,tk_component);//,tk_string, tk_specobject
spMyParam->SetSpecObject(spPara);
CAA
CATICkeParmFactory_var spParmFactory = spCont;//pPartContainer
// Create a String
CATICkeParm_var spPara = spParmFactory->CreateString(uParaName,uParaValue);
spPara-> SetUserAccess(CATICkeParm::User);//设置用户权限,否则不显示
CATISpecAttribute_var spMyParam = spObject->AddAttribute(uParaName,tk_component);//,tk_string, tk_specobject
spMyParam->SetSpecObject(spPara);