TeamProjectPicker Class

Provides a dialog to select a collection of TeamFoundation projects.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Client.TeamProjectPicker

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

Syntax

'Declaration
Public Class TeamProjectPicker _
    Implements IDisposable
public class TeamProjectPicker : IDisposable
public ref class TeamProjectPicker : IDisposable
type TeamProjectPicker =  
    class
        interface IDisposable
    end
public class TeamProjectPicker implements IDisposable

The TeamProjectPicker type exposes the following members.

Constructors

  Name Description
Public method TeamProjectPicker() Initializes a new TeamProjectPicker instance to select a single project.
Public method TeamProjectPicker(TeamProjectPickerMode, Boolean) Initializes a new TeamProjectPicker instance.
Public method TeamProjectPicker(TeamProjectPickerMode, Boolean, ICredentialsProvider) Initializes a new TeamProjectPicker instance.

Top

Properties

  Name Description
Public property AcceptButtonText Gets or sets the label of the “Accept” button.
Public property HelpTopic Gets or sets the help topic link of the dialog window.
Public property HostActiveTeamProjectCollection Gets or sets the current active team project collection.
Public property SelectedProjects Gets or sets the default selected projects in the dialog window.
Public property SelectedTeamProjectCollection Gets or sets the selected team project collection.
Public property Text Gets or sets the title of the dialog window.

Top

Methods

  Name Description
Public method Dispose() Alerts parent windows of disposal and disposes of the dialog window.
Protected method Dispose(Boolean)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize (Overrides Object.Finalize().)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method SetDefaultSelectionProvider Sets the default selection provider.
Public method ShowDialog() Displays the project selection dialog.
Public method ShowDialog(IWin32Window) Displays the project selection dialog.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Events

  Name Description
Public event AcceptButtonClick Event for when the “Accept” button is clicked.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Client Namespace