Windward Studios API Reference
GetQuery Method
See Also  Send comments on this topic.
WindwardInterfaces.net.windward.datasource Namespace > IDataSourceMetaData Interface : GetQuery Method




tag
The tag to run. Must be a QueryTag or SwitchTag.
stack
The stack of forEach loops in at this point. Node [0] is the root document node so this will always have length of at least 1.

Glossary Item Box

Returns the data from a query select. This always returns a .NET DataTable or XmlList

Syntax

Visual Basic (Declaration) 
Function GetQuery( _
   ByVal tag As BaseTag, _
   ByVal stack As IList(Of DataSourceNode) _
) As Object
Visual Basic (Usage)Copy Code
Dim instance As IDataSourceMetaData
Dim tag As BaseTag
Dim stack As IList(Of DataSourceNode)
Dim value As Object
 
value = instance.GetQuery(tag, stack)
C# 
object GetQuery( 
   BaseTag tag,
   IList<DataSourceNode> stack
)
Managed Extensions for C++ 
Object* GetQuery( 
   BaseTag* tag,
   IList<DataSourceNode*>* stack
) 
C++/CLI 
Object^ GetQuery( 
   BaseTag^ tag,
   IList<DataSourceNode^>^ stack
) 

Parameters

tag
The tag to run. Must be a QueryTag or SwitchTag.
stack
The stack of forEach loops in at this point. Node [0] is the root document node so this will always have length of at least 1.

Return Value

The requested data.

Requirements

Platforms: Windows 10, Windows NT, Windows Server

See Also

Windward Studios - .NET Document Generation software