TypeResolver.TryResolveType(String, 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.
Resolves the Type corresponding to the provided name
, returning true if resolution succeeded and false otherwise.
public abstract bool TryResolveType (string name, out Type type);
abstract member TryResolveType : string * Type -> bool
Public MustOverride 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; false
otherwise.