 | TypeReference.TryGetReferencedType Method |
Namespace: Ookii.JumboAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic bool TryGetReferencedType(
out Type type
)
Public Function TryGetReferencedType (
<OutAttribute> ByRef type As Type
) As Boolean
public:
bool TryGetReferencedType(
[OutAttribute] Type^% type
)
member TryGetReferencedType :
type : Type byref -> bool
Parameters
- type Type
-
When this method returns true, contains the type referenced by this
instance.
Return Value
Booleantrue if this instance references a type and it was resolved;
false if this instance did not reference a type (the
TypeName
property is
null.
Exceptions
Remarks
This method still throws an exception if the ResolveTypes property is
false, or if the type specified by the TypeName property
could not be resolved.
See Also