MediaTypeFormatterCollection.IsTypeExcludedFromValidation Method (Type)

 

Returns true if 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)

public static bool IsTypeExcludedFromValidation(
	Type type
)

Parameters

type
Type: System.Type

The .NET Type to validate.

Return Value

Type: System.Boolean

true if the type should be excluded; otherwise, false.

Return to top
Show: