ITypeFilter.IsTypeAllowed(Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.