CurrentGroup Property
The name of the current group.
Syntax
ANSI (Cross Platform) char* GetCurrentGroup();
int SetCurrentGroup(const char* lpszCurrentGroup); Unicode (Windows) LPWSTR GetCurrentGroup();
INT SetCurrentGroup(LPCWSTR lpszCurrentGroup);
@property (nonatomic,readwrite,assign,getter=currentGroup,setter=setCurrentGroup:) NSString* currentGroup; - (NSString*)currentGroup; - (void)setCurrentGroup:(NSString*)newCurrentGroup;
#define PID_SNNTP_CURRENTGROUP 30 IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_SNNTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_SNNTP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
This property contains the name of the current group. When this property is set to a valid group name, the class sends an NNTP GROUP command to the NewsServer and enters the specified group. If the command is successful, FirstArticle, LastArticle, and ArticleCount are set to the reported values for the group. This property is then used for all references to articles (until changed to another group).
Data Type
String