Add Method

WRAPPER_API bool Add(const BmgChar *issuer, const BmgChar *code)

 

Description

The Add method adds an identifier to this IdentifierCollection.  This method takes two strings as argument, the first of which gives the issuer and the second of which gives the code.  It returns a boolean value indicating the success of the operation.  If you attempt to add an identifier with the same issuer as an existing identifier, a GeoCalcException will be thrown specifying an ErrorCode of ParameterPreExisting.

 

Example

void IdentifierCollection_Add()

{

GEOCALCPBW_NAMESPACE::IdentifierCollection idc;

idc.Add(L"GC", L"MyID");

}