IAssembly.TryGetType Method

Namespace
Kampute.DocToolkit.Metadata
Assembly
  • Kampute.DocToolkit.dll

Definition

Attempts to retrieve metadata of a type exported by the assembly using its full name.
bool TryGetType(string fullName, [NotNullWhen(true)] out IType type)

Parameters

fullName string
The full name of the type to retrieve.
type IType
When this method returns, contains the type if found; otherwise, null. This parameter is passed uninitialized.

Returns

bool
true if the type is found; otherwise, false.

Exceptions

ArgumentNullException
Thrown when fullName is null.