IWMSPacketList.RemovePacket (C#)

The RemovePacket method removes a specified packet from the packet list.

void IWMSPacketList.RemovePacket(
  uint dwPacketNum
);

Arguments

uint containing the index of the packet to be removed.

Return Value

This method does not return a value.

If this method fails, it throws an exception.

Number

Description

0x80070057

dwPacketNum is not a valid index location.

Requirements

Reference: Add a reference to Microsoft.WindowsMediaServices.

Namespace: Microsoft.WindowsMediaServices.Interop.

Assembly: Microsoft.WindowsMediaServices.dll.

Library: WMSServerTypeLib.dll.

Platform: Windows Server 2003, Enterprise Edition; Windows Server 2003, Datacenter Edition; Windows Server 2008.

See Also

Concepts

IWMSPacketList Object (C#)