Partager via


QueryDefinition Constructor (String, String, QueryFolder)

Initializes a new QueryDefinition instance.

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    queryText As String, _
    parent As QueryFolder _
)
public QueryDefinition(
    string name,
    string queryText,
    QueryFolder parent
)
public:
QueryDefinition(
    String^ name, 
    String^ queryText, 
    QueryFolder^ parent
)
new : 
        name:string * 
        queryText:string * 
        parent:QueryFolder -> QueryDefinition
public function QueryDefinition(
    name : String, 
    queryText : String, 
    parent : QueryFolder
)

Parameters

  • queryText
    Type: System.String

    The query text for this query definition.

.NET Framework Security

See Also

Reference

QueryDefinition Class

QueryDefinition Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace