plz convert this to vb.nettttttttttttttttt
thanx
attachment attachment = new attachment();
attachment.caption = "facebook.com";
attachment.name = "Publish Test";
attachment.href = "http://www.facebook.com";
attachment.description = "a sample description";
attachment.properties = new attachment_property()
{
category = new attachment_category()
{
href = "http://www.facebook.com/mycategory/sample",
text = "sample category"
},
ratings = "5 stars"
};
attachment.media = new List<attachment_media>(){new attachment_media_image()
{
src = "http://facebook.com/myapp/logo.jpg",
href = "http://www.facebook.com/myapp"
}};
var result = api.Stream.Publish("Publishing to stream with attachment", attachment, null, null, 0);