Partager via


ControllerApiVersionAttribute Constructor (Double)

Define the minimum API version that a given API controller supports

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub New ( _
    apiVersion As Double _
)
public ControllerApiVersionAttribute(
    double apiVersion
)
public:
ControllerApiVersionAttribute(
    double apiVersion
)
new : 
        apiVersion:float -> ControllerApiVersionAttribute
public function ControllerApiVersionAttribute(
    apiVersion : double
)

Parameters

.NET Framework Security

See Also

Reference

ControllerApiVersionAttribute Class

ControllerApiVersionAttribute Overload

Microsoft.TeamFoundation.Framework.Server Namespace