QueryFolder.Contains Method (String)

Checks whether the specified query item exists in this query folder.

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

Syntax

'宣言
Public Function Contains ( _
    name As String _
) As Boolean
public bool Contains(
    string name
)
public:
bool Contains(
    String^ name
)
member Contains : 
        name:string -> bool 
public function Contains(
    name : String
) : boolean

Parameters

  • name
    Type: System.String
    The name of the query item to check for.

Return Value

Type: System.Boolean
True if the specified query item exists in this query folder; otherwise, false.

.NET Framework Security

See Also

Reference

QueryFolder Class

Contains Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace