Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
type
Type: System.TypeThe .NET Type to validate.
Return Value
Type: System.Boolean
true if the type should be excluded; otherwise, false.