|   |   |   | 
| Query.Query Constructor | Language: | 
Initializes a new instance of the Query class.
Visual Basic Public Sub New( _ 
ByVal device As Device, _
ByVal queryType As QueryType _
)C# public Query( 
Device device,
QueryType queryType
);C++ public: 
Query(
Device^ device,
QueryType queryType
);JScript public function Query( 
device : Device,
queryType : QueryType
);
device Microsoft.DirectX.Direct3D.Device 
Reference to the Device being queried.queryType Microsoft.DirectX.Direct3D.QueryType 
Member of the QueryType enumeration that specifies the query type.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
        
          Feedback? Please provide us with your comments on this topic.
			
        
        
	   		For more help, visit the DirectX Developer Center