Returns the interned string equal to str if there is one, or str otherwise.

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

Syntax

C#
public static string InternedIfPossible(
	string str
)
Visual Basic
Public Shared Function InternedIfPossible ( _
	str As String _
) As String
Visual C++
public:
static String^ InternedIfPossible(
	String^ str
)

Parameters

str
Type: System..::..String
A String

Return Value

A String

See Also