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.
Removes the designated Item.
Syntax
Items.Remove( _
ByVal Index As LONG _
) As HRESULT
Parameters
-
Index [in]
-
Type: LONG
Required. Long value.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
For example code, see Implement a Windows Script Host Script that Runs Automatically in Shared Samples.
Requirements
| Minimum supported client |
Windows Vista [desktop apps only] |
| Minimum supported server |
Windows Server 2003 R2 [desktop apps only] |
| Header |
|
| IDL |
|