Share via


ApiResourceVersionExtensions.AddApiResourceVersionValues Method

Namespace:  Microsoft.VisualStudio.Services.WebApi
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Sub AddApiResourceVersionValues ( _
    headerValues As ICollection(Of NameValueHeaderValue), _
    version As ApiResourceVersion _
)
public static void AddApiResourceVersionValues(
    this ICollection<NameValueHeaderValue> headerValues,
    ApiResourceVersion version
)
[ExtensionAttribute]
public:
static void AddApiResourceVersionValues(
    ICollection<NameValueHeaderValue^>^ headerValues, 
    ApiResourceVersion^ version
)
static member AddApiResourceVersionValues : 
        headerValues:ICollection<NameValueHeaderValue> * 
        version:ApiResourceVersion -> unit
public static function AddApiResourceVersionValues(
    headerValues : ICollection<NameValueHeaderValue>, 
    version : ApiResourceVersion
)

Parameters

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICollection<NameValueHeaderValue>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

.NET Framework Security

See Also

Reference

ApiResourceVersionExtensions Class

Microsoft.VisualStudio.Services.WebApi Namespace