New WordPress.com feature – Posting Source Code

11 12 2009

Just when I’d started using the ‘Code Snippet Plugin’ for Windows Live Writer, WordPress have now given us this –

http://en.support.wordpress.com/code/posting-source-code/

So I thought I would just write a quick post to test it out.

Don’t mind me while I just type some meaningless code with the SharePoint Object Model –

Using (SPSite site = new SPSite(“http://mytest”))
{
Using (SPWeb web = site.OpenWeb())
{
SPList list = web.Lists[“MyList”];
}   
}

*Fingers crossed this looks ok 🙂

Advertisements

Actions

Information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




%d bloggers like this: