Compartir a través de


ITypeFilter.IsTypeAllowed(Type) Método

Definición

Determina si se permite serializar, deserializar, etcetera el tipo especificado.

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

Parámetros

type
Type

El tipo

Devoluciones

true si se permite el tipo especificado; false si no se permite el tipo; null si este filtro desconoce el tipo.

Se aplica a