Click or drag to resize

TypeReferenceTryGetReferencedType Method

Gets type that this TypeReference references, if any.

Namespace: Ookii.Jumbo
Assembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntax
public bool TryGetReferencedType(
	out Type type
)

Parameters

type  Type
When this method returns , contains the type referenced by this instance.

Return Value

Boolean
if this instance references a type and it was resolved; if this instance did not reference a type (the TypeName property is .
Exceptions
ExceptionCondition
InvalidOperationException Resolving type references is disabled.
Remarks

This method still throws an exception if the ResolveTypes property is , or if the type specified by the TypeName property could not be resolved.

See Also