Query Class (Microsoft.DirectX.Direct3D)
Performs asynchronous queries on a driver.
Definition
Visual Basic NotInheritable Public Class Query
Inherits MarshalByRefObject
Implements IDisposableC# public sealed class Query : MarshalByRefObject, IDisposable C++ public ref class Query sealed : MarshalByRefObject, IDisposable JScript public final class Query extends MarshalByRefObject implements IDisposable
Members Table
The following table lists the members exposed by the object.
Events
Event Description Disposing Occurs when the Dispose method is called or when the Query object is finalized and collected by the garbage collector of the .NET common language runtime. Methods
Method Description Dispose Immediately releases the unmanaged resources used by the Query object. Equals Returns a value that indicates whether the current instance is equal to a specified object. Finalize Allows the Query object to free resources before it is destroyed by the garbage collector. GetData Retrieves the query information. 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. Issue Issues a query. op_Equality Compares the current instance of a class to another instance to determine whether they are the same. op_Inequality Compares the current instance of a class to another instance to determine whether they are different. Query Initializes a new instance of the Query class. raise_Disposing Raises the Microsoft.DirectX.Direct3D.Query.Disposing event when called from within a derived class. UpdateUnmanagedPointer Updates the unmanaged pointer for this Query object. This method supports the Microsoft .NET Framework infrastructure and is not intended to be used directly in your code. Properties
Property Description Device Retrieves the Device for the current query. Disposed Gets a value that indicates whether the object is disposed. QueryType Retrieves the query type for the current query. UnmanagedComPointer Returns the unmanaged Component Object Model (COM) IDirect3DQuery9 interface pointer.
Inheritance Hierarchy
Query
Class Information
Namespace Microsoft.DirectX.Direct3D Assembly Microsoft.DirectX.Direct3D (microsoft.directx.direct3d.dll) Strong Name Microsoft.DirectX.Direct3D, Version=1.0.900.0, Culture=neutral, PublicKeyToken=d3231b57b74a1492