SocketTools .NET Edition

NntpClient.SelectGroup Method 

Selects the specified newsgroup as the current newsgroup.

[Visual Basic]
Public Function SelectGroup( _
   ByVal groupName As String _
) As Boolean
[C#]
public bool SelectGroup(
   string groupName
);

Parameters

groupName
A string which specifies the name of the newsgroup to select.

Return Value

This method returns a boolean value. If the method succeeds, the return value is true. If the method fails, the return value is false. To get extended error information, check the value of the LastError property.

Remarks

The SelectGroup method selects a newsgroup and updates the control with information about the group.

The values of the FirstArticle and LastArticle properties will be updated to reflect the range of available articles in the newsgroup. The value of the Article property will be set to the first available article in the newsgroup.

See Also

NntpClient Class | SocketTools Namespace