Windows apps
Collapse the table of content
Expand the table of content

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)

'Declaration
Public Shared Function IsInterned ( _
	str As String _
) As String

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:
© 2017 Microsoft