ConcurrentNameTable.Add Method (string)ConcurrentNameTable.Add Method (String)ConcurrentNameTable::Add Method (String^)

Atomizes the specified string and adds it to the ConcurrentNameTableConcurrentNameTableConcurrentNameTable.

Syntax

Public Overrides Function Add( _
    array As String _
) As String
public override string Add(
    string array
)
public:
virtual String^ Add(
    String^ array
) override
 

Parameters

array

Type: System.StringSystem.StringSystem::String^

The name to add.

Return Value

Type: System.StringSystem.StringSystem::String^

The new atomized string or the existing one if it already exists.

Exceptions

ExceptionCondition
NullReferenceExceptionNullReferenceExceptionNullReferenceException array is null a null reference (Nothing in Visual Basic) nullptr.