Atom.NET documentation

AtomEntry.LoadXml Method 

Loads the AtomEntry from the specified xml fragment.

[Visual Basic]
Public Shared Function LoadXml( _
   ByVal xmlFragment As String _
) As AtomEntry
[C#]
public static AtomEntry LoadXml(
   string xmlFragment
);

Parameters

xmlFragment
The string containing the Atom xml data.

Return Value

An AtomEntry instance.

Exceptions

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

AtomEntry Class | Atom.Core Namespace