Share via


ProjectCollection.Item Property (String)

Gets the project in this collection that is specified by its name.

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

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    projectName As String _
) As Project
public Project this[
    string projectName
] { get; }
public:
property Project^ default[String^ projectName] {
    Project^ get (String^ projectName);
}
member Item : 
        projectName:string -> Project with get
JScript does not support indexed properties.

Parameters

  • projectName
    Type: System.String

    The name of the desired project.

Property Value

Type: Microsoft.TeamFoundation.WorkItemTracking.Client.Project
The project in this collection that has the specified name.

.NET Framework Security

See Also

Reference

ProjectCollection Class

Item Overload

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace