FilterGraphTools.RemoveAllFilters Method

DirectShowLib.Utils

A Managed DirectShow Toolkit

FilterGraphTools.RemoveAllFilters Method 

Remove and release all filters from a DirectShow Graph

public static void RemoveAllFilters(
   IGraphBuilder graphBuilder
);

Parameters

graphBuilder
the IGraphBuilder interface of the graph

Exceptions

Exception Type Condition
ArgumentNullException Thrown if graphBuilder is null
COMException Thrown if the method can't enumerate its filters

See Also

FilterGraphTools Class | DirectShowLib.Utils Namespace