Capture Class (Microsoft.DirectX.DirectSound)

Contains properties and methods used to create sound capture buffers.


Visual BasicPublic Class Capture
    Inherits MarshalByRefObjectLeave Site
    Implements IDisposableLeave Site
C#public class Capture : MarshalByRefObjectLeave Site, IDisposableLeave Site
C++public ref class Capture : MarshalByRefObjectLeave Site, IDisposableLeave Site
JScriptpublic class Capture extends MarshalByRefObjectLeave Site implements IDisposableLeave Site

Members Table

The following table lists the members exposed by the object.


Disposing Occurs when the Dispose method is called or when the Capture object is finalized and collected by the garbage collector of the Microsoft .NET common language runtime.


Capture Initializes a new instance of the Capture class using the default Microsoft DirectSound capture device.
Dispose Immediately releases the unmanaged resources used by the Capture object.
Equals Returns a value that indicates whether the current instance is equal to a specified object.
Finalize Allows the Capture object to free resources before it is destroyed by the garbage collector.
GetHashCode Returns the hash code for the current instance.
GetObjectByValue This member supports the infrastructure for Microsoft DirectX 9.0 for Managed Code and is not intended to be used directly from your code.
static (Shared in Visual Basic) op_Equality Compares the current instance of a class to another instance to determine whether they are the same.
static (Shared in Visual Basic) op_Inequality Compares the current instance of a class to another instance to determine whether they are different.
raise_Disposing Raises the Capture.Disposing event when called from within a derived class.


Caps Retrieves the capabilities of the capture device.
Disposed Gets a value that indicates whether the object is disposed.

Inheritance Hierarchy

Class Information

AssemblyMicrosoft.DirectX.DirectSound (microsoft.directx.directsound.dll)
Strong NameMicrosoft.DirectX.DirectSound,  Version=1.0.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492