MediaTypeFormatterCollection.IsTypeExcludedFromValidation Method

Determines whether the type is one of those loosely defined types that should be excluded from validation.

Namespace:  System.Net.Http.Formatting
Assembly:  System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)

Syntax

'Declaration
Public Shared Function IsTypeExcludedFromValidation ( _
    type As Type _
) As Boolean
'Usage
Dim type As Type 
Dim returnValue As Boolean 

returnValue = MediaTypeFormatterCollection.IsTypeExcludedFromValidation(type)
public static bool IsTypeExcludedFromValidation(
    Type type
)
public:
static bool IsTypeExcludedFromValidation(
    Type^ type
)
static member IsTypeExcludedFromValidation : 
        type:Type -> bool
public static function IsTypeExcludedFromValidation(
    type : Type
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the type should be excluded; otherwise, false.

See Also

Reference

MediaTypeFormatterCollection Class

System.Net.Http.Formatting Namespace