Project SQL function bit_length() Note: throws an exception outside of a QueryOver expression

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

Syntax

C#
public static int BitLength(
	this string stringProperty
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function BitLength ( _
	stringProperty As String _
) As Integer
Visual C++
[ExtensionAttribute]
public:
static int BitLength(
	String^ stringProperty
)

Parameters

stringProperty
Type: System..::..String

[Missing <param name="stringProperty"/> documentation for "M:NHibernate.Criterion.ProjectionsExtensions.BitLength(System.String)"]

Return Value

[Missing <returns> documentation for "M:NHibernate.Criterion.ProjectionsExtensions.BitLength(System.String)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also