共用方式為


TeamProjectPicker Constructor (TeamProjectPickerMode, Boolean, ICredentialsProvider)

Initializes a new TeamProjectPicker instance.

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

Syntax

'Declaration
Public Sub New ( _
    mode As TeamProjectPickerMode, _
    disableCollectionChange As Boolean, _
    credentialsProvider As ICredentialsProvider _
)
public TeamProjectPicker(
    TeamProjectPickerMode mode,
    bool disableCollectionChange,
    ICredentialsProvider credentialsProvider
)
public:
TeamProjectPicker(
    TeamProjectPickerMode mode, 
    bool disableCollectionChange, 
    ICredentialsProvider^ credentialsProvider
)
new : 
        mode:TeamProjectPickerMode * 
        disableCollectionChange:bool * 
        credentialsProvider:ICredentialsProvider -> TeamProjectPicker
public function TeamProjectPicker(
    mode : TeamProjectPickerMode, 
    disableCollectionChange : boolean, 
    credentialsProvider : ICredentialsProvider
)

Parameters

  • disableCollectionChange
    Type: System.Boolean

    If true, disables the changing of the default project collection.

.NET Framework Security

See Also

Reference

TeamProjectPicker Class

TeamProjectPicker Overload

Microsoft.TeamFoundation.Client Namespace