:GetArticleByNumber()


Class

     aprNNTP()

 

Syntax

     :GetArticleByNumber( [nMsgNo], [hSession] ) -> cArticle

 

Parameters

 

nMsgNo

Numeric indicating the article in the current newsgroup to receive.

If parameter is not passed, it returns the current Article.

 

hSession

Optional: If hSession is not passed, the value in :Session will be used

 

Return

String containing the Article.

If the method failes, it returns an empty string.

To get further error information see :nErr and :cErr

 

Description

The :GetArticleByNumber() method returns the contents of the article specified by the Article number.

 

To see the remote server's response, see :GetResultCode() and :GetResultString().

 

See Also

:GetArticleByMessageId(), :GetArticleRange(), :GetCurrentArticle(), :GetNextArticle(), :GetPreviouseArticle(), :ListArticles()