Export (0) Print
Expand All

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

T

The generic type.

Parameters

formData
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 http://msdn.microsoft.com/en-us/library/bb384936(v=vs.108).aspx or http://msdn.microsoft.com/en-us/library/bb383977(v=vs.108).aspx.
Show:
© 2014 Microsoft