[This is preliminary documentation and is subject to change.]
Builds a query string given a dictionary of mappings and a Query
instance. This method evaluates the conditions of that Query to produce
a textual query string in format determined by the implementation.
| C# | Visual Basic | Visual C++ |
public virtual string Format( Query query, IDictionary table )
Public Overridable Function Format ( _ query As Query, _ table As IDictionary _ ) As String
public: virtual String^ Format ( Query^ query, IDictionary^ table )
- query (Query)
- An ADK Query object, usually obtained during the processing of a SIF_Request by a Publisher message handler
- table (IDictionary)
- A dictionary that maps SIFDTD ElementDef constants to application-defined field values
| Exception | Condition |
|---|---|
| QueryFormatterException | Thrown if the query contains conditions that are not mapped in the table |