ConcurrentNameTable.Get Method (char[], int, int)ConcurrentNameTable.Get Method (Char(), Integer, Integer)ConcurrentNameTable::Get Method (array
<char>^, int, int)
Gets the atomized string containing the same characters as the specified range of characters in the given array.
Parameters
- array
Type: System.Char[]System.Char()
array
<System::Char>^The character array containing the name to look up.
- offset
Type: System.Int32System.Int32System::Int32
The zero-based index into the array specifying the first character of the name.
- length
Type: System.Int32System.Int32System::Int32
The number of characters in the name.
Return Value
Type: System.StringSystem.StringSystem::String^
The atomized string or null
a null reference (Nothing
in Visual Basic)
nullptr
if the string has not already been atomized. If
length is less than or equal to zero, EmptyEmptyEmpty is returned.
Exceptions
Exception | Condition |
NullReferenceExceptionNullReferenceExceptionNullReferenceException | array is null
a null reference (Nothing in Visual Basic)
nullptr . |
IndexOutOfRangeExceptionIndexOutOfRangeExceptionIndexOutOfRangeException | offset and length identify a range that exceeds the bounds of array |