ReadAs(T) Method (FormDataCollection)

FormDataCollectionExtensions.ReadAs<T> Method (FormDataCollection)

Reads the collection extensions with specified type.

Namespace:  System.Web.Http.ModelBinding
Assembly:  System.Web.Http (in System.Web.Http.dll)

public static T ReadAs<T>(
	this FormDataCollection formData

Type Parameters


The generic type.


Type: System.Net.Http.Formatting.FormDataCollection

The form data.

Return Value

Type: T
The read collection extensions.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type FormDataCollection. When you use instance method syntax to call this method, omit the first parameter. For more information, see or
© 2015 Microsoft