XamlTypeMapper.AllowInternalType(Type) Método

Definição

Pede permissão para um XamlTypeMapper tipo derivado que é chamado sob total confiança para aceder a um tipo interno específico.

protected:
 virtual bool AllowInternalType(Type ^ type);
protected virtual bool AllowInternalType(Type type);
abstract member AllowInternalType : Type -> bool
override this.AllowInternalType : Type -> bool
Protected Overridable Function AllowInternalType (type As Type) As Boolean

Parâmetros

type
Type

O tipo de acesso.

Devoluções

true se o tipo interno puder ser acedido; caso contrário, false.

Observações

Se não for sobreposto por uma subclasse, AllowInternalType devolve falsesempre .

Quando sobrescrito por uma subclasse, o comportamento deve ser que AllowInternalType deve devolver true se o tipo interno puder ser acedido; caso contrário, false.

Aplica-se a