Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

TeamProjectPicker Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Provides a dialog to select a collection of TeamFoundation projects.

System.Object
  Microsoft.TeamFoundation.Client.TeamProjectPicker

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public class TeamProjectPicker : IDisposable

The TeamProjectPicker type exposes the following members.

  NameDescription
Public methodTeamProjectPicker()Initializes a new TeamProjectPicker instance to select a single project.
Public methodTeamProjectPicker(TeamProjectPickerMode, Boolean)Initializes a new TeamProjectPicker instance.
Public methodTeamProjectPicker(TeamProjectPickerMode, Boolean, ICredentialsProvider)Initializes a new TeamProjectPicker instance.
Top
  NameDescription
Public propertyAcceptButtonTextGets or sets the label of the “Accept” button.
Public propertyAutoCommitConnectionChangesSpecifies 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.
Public propertyHasNewCredentialsIndicate that the selected connection has been re-authenticated and the new credentials could be different from the cached one.
Public propertyHelpTopicGets or sets the help topic link of the dialog window.
Public propertyHostActiveTeamProjectCollectionGets or sets the current active team project collection.
Public propertySelectedProjectsGets or sets the default selected projects in the dialog window.
Public propertySelectedTeamProjectCollectionGets or sets the selected team project collection.
Public propertyTextGets or sets the title of the dialog window.
Top
  NameDescription
Public methodStatic memberCommitConnectionChange(TfsTeamProjectCollection)
Public methodStatic memberCommitConnectionChange(TfsTeamProjectCollection, Boolean)Commit the connection changes to the local storage and in-memory cache and persist the credentials to the token storage.
Public methodDispose()Alerts parent windows of disposal and disposes of the dialog window.
Protected methodDispose(Boolean)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalize (Overrides Object.Finalize().)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSetDefaultSelectionProviderSets the default selection provider.
Public methodShowDialog()Displays the project selection dialog.
Public methodShowDialog(IWin32Window)Displays the project selection dialog.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Public eventAcceptButtonClickEvent for when the “Accept” button is clicked.
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.