TypeProvider.IsAssignable(Type, Type) Método

Definição

Indica se um tipo pode ser atribuído em segurança a outro tipo.

public:
 static bool IsAssignable(Type ^ toType, Type ^ fromType);
public static bool IsAssignable(Type toType, Type fromType);
static member IsAssignable : Type * Type -> bool
Public Shared Function IsAssignable (toType As Type, fromType As Type) As Boolean

Parâmetros

toType
Type

O alvo Type da tarefa.

fromType
Type

A origem Type da tarefa.

Devoluções

true se a atribuição puder ser feita em segurança; caso contrário false.

Aplica-se a