IsInterned Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Retrieves a reference to a specified String.

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

public:
static String^ IsInterned(
	String^ str
)

Parameters

str
Type: System..::..String
The string to search for in the intern pool.

Return Value

Type: System..::..String
A reference to str if it is in the common language runtime intern pool; otherwise, nullNothingnullptrunita null reference (Nothing in Visual Basic).

ExceptionCondition
ArgumentNullException

str is nullNothingnullptrunita null reference (Nothing in Visual Basic).

Show: