0 out of 1 rated this helpful - Rate this topic

MediaTypeFormatter.GetDefaultValueForType Method

Gets the default value for the specified type.

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
static member GetDefaultValueForType : 
        type:Type -> Object

Parameters

type
Type: System.Type

The type for which to get the default value.

Return Value

Type: System.Object
The default value.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.