Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[Item is no longer available for use as of Windows Vista. See Windows Messenger for more information.]
Retrieves a specific MessengerGroup object by numeric index.
Syntax
HRESULT Item(
[in] long Index,
[out, retval] IDispatch **ppService
);
Parameters
-
Index [in]
-
Type: long
LONG that specifies the index of the desired MessengerGroup object in the collection.
-
ppService [out, retval]
-
Type: IDispatch**
Address of a pointer to the IDispatch interface on a MessengerGroup object requested with IDispatch interface on a Index. The object can now be accessed through the IMessengerGroups interface.
Return value
Type: HRESULT
Returns one of the following values.
| Return code | Description |
|---|---|
|
Success |
|
Invalid collection or index number provided exceeds the length of the collection. |
|
ppMGroup is a NULL pointer. |
|
Index is not a positive integer. |
Remarks
Note
This method is available for scripting languages.
Requirements
| End of client support |
Windows XP |
| End of server support |
Windows Server 2003 |
| Header |
|
| IDL |
|
| DLL |
|