Q: Newbee question, regarding a couple of syntaxes in c#
From: Visual Systems AB \(Martin Arvidsson\) (martin.arvidsson_at_vsab.net)
Date: 11/18/04
- Next message: Nicholas Paldino [.NET/C# MVP]: "Re: OOP question - multiple value properties"
- Previous message: Hans: "Single Cell in DataGrid not Refreshing with SP 1"
- Next in thread: Peter Jausovec: "Re: Newbee question, regarding a couple of syntaxes in c#"
- Reply: Peter Jausovec: "Re: Newbee question, regarding a couple of syntaxes in c#"
- Reply: Anders Norås: "Re: Newbee question, regarding a couple of syntaxes in c#"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 18 Nov 2004 22:29:38 +0100
Hi!
I was testing an application that is writing a mail and sends it to a
recieptiens. I then came across
a couple of ??? in my head, coul anyone briefly tell me what the difference
is between this and where in the help i can read more about it
First out...
Outlook.Application oApp = new Outlook.Application();
My guess is that this create a new object oApp from this
Outlook.Application? Right?
Then the following, i just don't get, what they do and what it is called...
Outlook.NameSpace oNS = oApp.GetNamespace("mapi");
(Why not xxx = new xxx)
Outlook.MailItem oMsg =
(Outlook.MailItem)oApp.CreateItem(Outlook.OlItemType.olMailItem);
Outlook.Recipients oRecips = (Outlook.Recipients)oMsg.Recipients;
Thanx in advance for any help
Regards
Martin Arvidsson
- Next message: Nicholas Paldino [.NET/C# MVP]: "Re: OOP question - multiple value properties"
- Previous message: Hans: "Single Cell in DataGrid not Refreshing with SP 1"
- Next in thread: Peter Jausovec: "Re: Newbee question, regarding a couple of syntaxes in c#"
- Reply: Peter Jausovec: "Re: Newbee question, regarding a couple of syntaxes in c#"
- Reply: Anders Norås: "Re: Newbee question, regarding a couple of syntaxes in c#"
- Messages sorted by: [ date ] [ thread ]