Edytuj

Udostępnij za pośrednictwem


ITypeResolver.TryResolveType(String, Type) Method

Definition

Resolves the Type corresponding to the provided name, returning true if resolution succeeded and false otherwise.

public bool TryResolveType (string name, out Type type);
abstract member TryResolveType : string * Type -> bool
Public Function TryResolveType (name As String, ByRef type As Type) As Boolean

Parameters

name
String

The type name.

type
Type

The resolved type.

Returns

true if resolution succeeded and false otherwise.

Applies to