.NET Framework Class Library
Browser.LoadQueryByFileName Method

<< Click to Display Table of Contents >>

Navigation:  MwPDMApi Namespace > Browser Class > Browser Methods >

.NET Framework Class Library
Browser.LoadQueryByFileName Method

Activates the Query page and loads and executes the query contained in the assigned file. The path of the file must be complete.

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

Syntax

Visual Basic

Public Sub LoadQueryByFileName ( _

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

C#

public void LoadQueryByFileName(

 string sqlFileName,
 string queryTypeString = "",
 bool applyToDBWFeatureManager = false
)

Visual C++

public:

void LoadQueryByFileName(
 StringsqlFileName,
 StringqueryTypeString = L"",
 bool applyToDBWFeatureManager = false
)

JavaScript

function loadQueryByFileName(sqlFileNamequeryTypeStringapplyToDBWFeatureManager);

Parameters

sqlFileName

Type: System.String
sql file name

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