FilgraphManager.FilterCollection
Microsoft DirectShow 9.0 |
FilgraphManager.FilterCollection
- Note This topic is deprecated. It applies to Visual Basic 6.0. DirectShow is not supported for Visual Basic .NET or C#.
The FilterCollection property retrieves a collection of the filters in the filter graph.
Syntax
objGraph .FilterCollection As IAMCollection
Parameters
The property takes no parameters.
Return Values
Returns an IAMCollection object that contains zero or more IFilterInfo objects. Each IFilterInfo object represents one filter in the graph.
Remarks
This property is read-only.
Example Code
The following example displays the names of the filters in the filter graph:
You can also use a For ... Each
loop to enumerate each filter, as follows:
For Each objFilter In mGraph.FilterCollection List1.AddItem objFilter.Name Next
Requirements
Reference: Add a reference to ActiveMovie control type library.
Library: Quartz.dll.
See Also