Atom.NET documentation

AtomEntry.Load Method (TextReader)

Loads the AtomEntry from the specified TextReader.

[Visual Basic]
Overloads Public Shared Function Load( _
   ByVal tr As TextReader _
) As AtomEntry
[C#]
public static AtomEntry Load(
   TextReader tr
);

Parameters

tr
The TextReader from which read 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 | AtomEntry.Load Overload List