Atom.NET documentation

AtomFeed.LoadXml Method 

Loads the AtomFeed from the specified xml fragment.

[Visual Basic]
Public Shared Function LoadXml( _
   ByVal xmlFragment As String _
) As AtomFeed
public static AtomFeed LoadXml(
   string xmlFragment


The string containing the Atom xml data.

Return Value

An AtomFeed instance.


Exception TypeCondition
XmlExceptionInvalid xml syntax in Atom resource or uri is null.
ArgumentExceptionThe resource cannot be find.
InvalidOperationExceptionAtomReader has been closed, and can not be read.
FileNotFoundExceptionAtom xml resource not found.

See Also

AtomFeed Class | Atom.Core Namespace