Creates a new atom for the characters at the specified range of chararacters in the specified string.
[Visual Basic] Overloads Function Add( _ ByVal array() As Char, _ ByVal offset As Integer, _ ByVal length As Integer _ ) As String [C#] string Add( char[] array, int offset, int length ); [C++] String* Add( __wchar_t* array[], int offset, int length ) = 0; [JScript] function Add( array : Char[], offset : int, length : int ) : String;
Returns atomized string. Returns String.Empty if length is zero. Returns the existing atom if one already exists.
Exception Type | Condition |
---|---|
IndexOutOfRangeException | if 0 > offset > array.Length or 0 > length > array.Length- offset. |
XmlNameTable Interface | XmlNameTable Members | System.NewXml Namespace | XmlNameTable.Add Overload List