共用方式為


TfsTeamProjectCollection.GetServiceInstance Method

This member overrides TfsConnection.GetServiceInstance(Type, Object).

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

Syntax

'Declaration
Protected Overrides Function GetServiceInstance ( _
    serviceType As Type, _
    serviceInstance As Object _
) As Object
protected override Object GetServiceInstance(
    Type serviceType,
    Object serviceInstance
)
protected:
virtual Object^ GetServiceInstance(
    Type^ serviceType, 
    Object^ serviceInstance
) override
abstract GetServiceInstance : 
        serviceType:Type * 
        serviceInstance:Object -> Object  
override GetServiceInstance : 
        serviceType:Type * 
        serviceInstance:Object -> Object
protected override function GetServiceInstance(
    serviceType : Type, 
    serviceInstance : Object
) : Object

Parameters

Return Value

Type: System.Object
Returns Object.

.NET Framework Security

See Also

Reference

TfsTeamProjectCollection Class

Microsoft.TeamFoundation.Client Namespace