:GetArticleHeader()


Class

     aprNNTP()

 

Syntax

     :GetArticleHeader([nArticleNo], [hSession] ) -> cHeader

 

Parameters

 

nArticleNo

Numeric indicating the Article in the current newsgroup to return the Header for.

If this parameter is not passed, it defaults to the current Article.

 

hSession

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

 

Return

Returns a String containing the Header for the specified Article.

If this method fails, the return value is an empty string.

To get further error information see :nErr and :cErr

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

 

Description

The :GetArticleHeader() method returns the message header for the specified article.

 

See Also

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