26 November 2008 by Stuart Cam
A lot of snooping around Microsoft.Sharepoint.dll with Reflector gives the following:
// Get the Hyperlink (downcast from SPField to SPFieldUrl)
SPFieldUrl fieldUrl = (SPFieldUrl)spListItem.Fields[SPBuiltInFieldId.URL];
string urlID = spListItem[SPBuiltInFieldId.URL].ToString();
SPFieldUrlValue value = (SPFieldUrlValue)fieldUrl.GetFieldValue(urlID);
11feef92-5cd3-4cfc-8717-65b8ee84bb6a|0|.0
Tags:
Categories: .NET | C Sharp | MOSS