Casts the projection result to the specified type.

Namespace: NHibernate.Criterion
Assembly: NHibernate (in NHibernate.dll) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public static IProjection Cast(
	IType type,
	IProjection projection
)
Visual Basic
Public Shared Function Cast ( _
	type As IType, _
	projection As IProjection _
) As IProjection
Visual C++
public:
static IProjection^ Cast(
	IType^ type, 
	IProjection^ projection
)

Parameters

type
Type: NHibernate.Type..::..IType
The type.
projection
Type: NHibernate.Criterion..::..IProjection
The projection.

Return Value

[Missing <returns> documentation for "M:NHibernate.Criterion.Projections.Cast(NHibernate.Type.IType,NHibernate.Criterion.IProjection)"]

See Also