ITMediaCollection::Delete method
[ Rendezvous IP Telephony Conferencing controls and interfaces are not available for use in Windows Vista, Windows Server 2008, and subsequent versions of the operating system. The RTC Client API provides similar functionality.]
The Delete method deletes the media corresponding to the specified index.
Syntax
HRESULT Delete(
[in] LONG Index
);
Parameters
-
Index [in]
-
Index of media to be deleted.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Method succeeded. |
|
The Index parameter has a value less than 1 or greater than the current number of elements. |
|
Insufficient memory exists to perform the operation. |
|
Internal error (should only occur if a previous call returned an error). |
|
This method is not yet implemented. |
|
The SDP blob doesn't exist. |
Remarks
Most C and C++ lists are 0-based, but this index is 1-based for Visual Basic compatibility, meaning the first item has an index number of 1.
Requirements
Requirement | Value |
---|---|
TAPI version |
Requires TAPI 3.0 or later |
Header |
|
Library |
|
DLL |
|