SIFWorks ADK 2.0
SetQueryResults Method (queryResults, objectType)
NamespacesEdustructures.SifWorksAgentSetQueryResults(IQueryResults, IElementDef)

[This is preliminary documentation and is subject to change.]

Register a global IQueryResults message handler object with this agent for the specified SIF object type. Note agents typically register message handlers with Topics or with Zones instead of with the Agent. The message dispatcher first delivers messages to Topics, then to Zones, and finally to the Agent itself.
Declaration Syntax
C#Visual BasicVisual C++
public virtual void SetQueryResults(
	IQueryResults queryResults,
	IElementDef objectType
)
Public Overridable Sub SetQueryResults ( _
	queryResults As IQueryResults, _
	objectType As IElementDef _
)
public:
virtual void SetQueryResults (
	IQueryResults^ queryResults, 
	IElementDef^ objectType
)
Parameters
queryResults (IQueryResults)
An object that implements the IQueryResults interface to respond to SIF_Response query results received by the agent, where the SIF object type referenced by the request matches the specified objectType. This IQueryResults object will be called whenever a SIF_Response is received and no other object in the message dispatching chain has processed the message.
objectType (IElementDef)
A constant from the SifDtd class that identifies the type of SIF Data Object this IQueryResults message handler will respond to.

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10