Edit

Share via


ITypeFilter.IsTypeAllowed(Type) Method

Definition

Determines whether the specified type is allowed to be serialized, deserialized, etcetera.

public bool? IsTypeAllowed (Type type);
abstract member IsTypeAllowed : Type -> Nullable<bool>
Public Function IsTypeAllowed (type As Type) As Nullable(Of Boolean)

Parameters

type
Type

The type

Returns

true if the specified type is allowed; false if the type is not allowed; null if the type is unknown by this filter.

Applies to