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 | |
---|---|---|
TeamProjectPicker() | Initializes a new TeamProjectPicker instance to select a single project. | |
TeamProjectPicker(TeamProjectPickerMode, Boolean) | Initializes a new TeamProjectPicker instance. | |
TeamProjectPicker(TeamProjectPickerMode, Boolean, ICredentialsProvider) | Initializes a new TeamProjectPicker instance. |
Top
Properties
Name | Description | |
---|---|---|
AcceptButtonText | Gets or sets the label of the “Accept” button. | |
AutoCommitConnectionChanges | Specifies if the project picker should automatically update cached connection information on positive completion of the dialog after cancellation handlers have had an opportunity to intervene. | |
HasNewCredentials | Indicate that the selected connection has been re-authenticated and the new credentials could be different from the cached one. | |
HelpTopic | Gets or sets the help topic link of the dialog window. | |
HostActiveTeamProjectCollection | Gets or sets the current active team project collection. | |
SelectedProjects | Gets or sets the default selected projects in the dialog window. | |
SelectedTeamProjectCollection | Gets or sets the selected team project collection. | |
Text | Gets or sets the title of the dialog window. |
Top
Methods
Name | Description | |
---|---|---|
CommitConnectionChange(TfsTeamProjectCollection) | ||
CommitConnectionChange(TfsTeamProjectCollection, Boolean) | Commit the connection changes to the local storage and in-memory cache and persist the credentials to the token storage. | |
Dispose() | Alerts parent windows of disposal and disposes of the dialog window. | |
Dispose(Boolean) | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | (Overrides Object.Finalize().) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SetDefaultSelectionProvider | Sets the default selection provider. | |
ShowDialog() | Displays the project selection dialog. | |
ShowDialog(IWin32Window) | Displays the project selection dialog. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
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.