.NET Framework Class Library
Browser.LoadQuery Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Browser Class > Browser Methods >

.NET Framework Class Library
Browser.LoadQuery Method

Loads the specified sql query in the Query Page. If tab is specified, it allows the specification of the result type

Namespace: MwPDMApi
Assembly:  MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

Visual Basic

Public Sub LoadQuery ( _

 title As String, _
 theQuery As String, _
 Optional queryTypeString As String = "", _
 Optional applyToDBWFeatureManager As Boolean = False _
)

C#

public void LoadQuery(

 string title,
 string theQuery,
 string queryTypeString = "",
 bool applyToDBWFeatureManager = false
)

Visual C++

public:

void LoadQuery(
 Stringtitle,
 StringtheQuery,
 StringqueryTypeString = L"",
 bool applyToDBWFeatureManager = false
)

JavaScript

function loadQuery(titletheQueryqueryTypeStringapplyToDBWFeatureManager);

Parameters

title

Type: System.String
name for the query to load

theQuery

Type: System.String
sql statement

queryTypeString (Optional)

Type: System.String
Optional. The type of query to perform (one of "WORKINGSET", "SELECTION", "FILTER")

applyToDBWFeatureManager (Optional)

Type: System.Boolean
Optional. TRUE, the result of the FILTER query will be applied to the DBW Feature Manager search grid of the active CAD document, FALSE otherwise (used if queryTypeString is specified)

Remarks

See Also

Browser Class

Browser Members

MwPDMApi Namespace