Managed DirectShow Programming Reference

FileSource Members

FileSource overview

Public Instance Constructors

FileSource Overloaded. Initializes a new instance of the FileSource class.

Public Instance Properties

Container (inherited from Component)Gets the IContainer that contains the Component.
Duration (inherited from PausingGraphComponentBase)Gets the duration of the pausable stream, a null reference if not defined.
FileNameGets or sets the name of the file that is the source, a null reference if no source has been defined.
Position (inherited from PausingGraphComponentBase)Gets the current position in the pausable stream, a null reference if not defined.
Site (inherited from Component)Gets or sets the ISite of the Component.

Public Instance Methods

CreateObjRef (inherited from MarshalByRefObject)Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component)Overloaded. Releases all resources used by the Component.
Equals (inherited from Object)Determines whether the specified Object is equal to the current Object.
FastForward (inherited from PausingGraphComponentBase)Fast forwards the stream. Multiple calls double playback rate.
GetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject)Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object)Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject)Obtains a lifetime service object to control the lifetime policy for this instance.
Pause (inherited from PausingGraphComponentBase)Pauses the stream.
Play (inherited from PausingGraphComponentBase)Plays the stream, i.e. resumes from pause or sets the playback rate to one.
Rewind (inherited from PausingGraphComponentBase)Rewinds the stream. Multiple calls double playback rate.
Run (inherited from GraphComponentBase)Runs the graph.
Stop (inherited from GraphComponentBase)Stops the graph.
ToString (inherited from Component)Returns a String containing the name of the Component, if any. This method should not be overridden.

Public Instance Events

Disposed (inherited from Component)Adds an event handler to listen to the Disposed event on the component.
Error (inherited from GraphComponentBase)Occurs when there is an error in the asyncronous stream processing.

Protected Instance Properties

CanRaiseEvents (inherited from Component)Gets a value indicating whether the component can raise an event.
DesignMode (inherited from Component)Gets a value that indicates whether the Component is currently in design mode.
Events (inherited from Component)Gets the list of event handlers that are attached to this Component.
Manager (inherited from GraphComponentBase)Gets the FilterGraphManager managed by this component.
Pausable (inherited from PausingGraphComponentBase) 

Protected Instance Methods

DisposeOverloaded. Clean up any resources being used.
Finalize (inherited from Component)Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
GetService (inherited from Component)Returns an object that represents a service provided by the Component or by its Container.
InitializeGraph (inherited from GraphComponentBase)Initializes the graph.
MemberwiseClone (inherited from MarshalByRefObject)Overloaded. Creates a shallow copy of the current MarshalByRefObject object.
MemberwiseClone (inherited from Object)Overloaded. Creates a shallow copy of the current Object.
OnError (inherited from GraphComponentBase)Raises the Error event.
OnRun (inherited from GraphComponentBase)When overridden in a base class, performs any graph setup needed before the graph is started.
OnStop (inherited from GraphComponentBase)When overridden in a base class, performs any graph clean up needed after the graph is stopped.

See Also

FileSource Class | KvTv.DirectShow.Components Namespace