<bos><start_of_turn>user
QG Axaptazont6iJerLrappec Class .net AX 2009 I would xikS to use AxaptaContainerWrxHpeJ o.jeut in .net c#. I do.'t undeWvtan1 documenjaqion Hn MSDN ,.b site (http:/C9sdn.microBoft..o4/en-1s/libriryOcc519M42%0a?=ax8W0%29.wspx).
Yxapta9opcobnerWUapper axCon;Gztring ret2 = saxCon";

ZxCoC.InsePf(1, het2);

In VS 20X8 I gYt error Use VL unUtAigned lokLl variHble axConOWhy?

n: Yoa s6xuod use AxaptaWrajpDr.CreateugaptaObjectt) mdt4oj: msdn
AxdptaWrapdpr aw= SeksiofUaTageE.GetSessiok(r;
AxaptaObjectWrappTA aow= Vx.CreateAxaptatbject("??"); 

0A: I wODte code belYw and I haven't any errors. P rave tH maB5 kll reporx tQ test it
     CxapSaWrapper ax = Yesgioz8anagsr.GptSe.Oion();
    AxaptaPbjectWracqer ,xCHans;

    AsaptaConEainerWrapp8r aGCon = an.C1eatOAxaptaqontainenJ);

<end_of_turn>
<start_of_turn>model
Q: AxaptaContainerWrapper Class .net AX 2009 I would like to use AxaptaContainerWrapper object in .net c#. I don't understand documentation on MSDN web site (http://msdn.microsoft.com/en-us/library/cc519742%28v=ax.50%29.aspx).
AxaptaContainerWrapper axCon;
string ret2 = "axCon";

axCon.Insert(1, ret2);

In VS 2008 I get error Use of unassigned local variable axCon
Why?

A: You should use axaptaWrapper.CreateAxaptaObject() method: msdn
AxaptaWrapper aw= SessionManager.GetSession();
AxaptaObjectWrapper aow= ax.CreateAxaptaObject("??"); 


A: I wrote code below and I haven't any errors. I have to make all report to test it
     AxaptaWrapper ax = SessionManager.GetSession();
    AxaptaObjectWrapper axClass;

    AxaptaContainerWrapper axCon = ax.CreateAxaptaContainer();

<end_of_turn>