Given a component path expression, get the type of the property.

Namespace: NHibernate.Persister.Entity
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
bool TryToType(
	string propertyName,
	out IType type
)
Visual Basic
Function TryToType ( _
	propertyName As String, _
	<OutAttribute> ByRef type As IType _
) As Boolean
Visual C++
bool TryToType(
	String^ propertyName, 
	[OutAttribute] IType^% type
)

Parameters

propertyName
Type: System..::..String

[Missing <param name="propertyName"/> documentation for "M:NHibernate.Persister.Entity.IPropertyMapping.TryToType(System.String,NHibernate.Type.IType@)"]

type
Type: NHibernate.Type..::..IType%

[Missing <param name="type"/> documentation for "M:NHibernate.Persister.Entity.IPropertyMapping.TryToType(System.String,NHibernate.Type.IType@)"]

Return Value

true if a type was found, false if not

See Also