Names Object
Replaces an existing string in the Names collection.
Names.Replace (
[NewName :=] strName,
[ReplaceItem :=] {strReplaceName | lReplaceOrdinal} )
HRESULT pNames->ReplaceByName (
SQLOLE_LPCSTR strName,
SQLOLE_LPCSTR strReplaceName );
HRESULT pNames->ReplaceByOrd (
SQLOLE_LPCSTR strName,
long lReplaceOrdinal );
Element | Type | Description |
---|
strName | String | New string to insert into Names collection. |
strReplaceName | String | String to replace. |
lReplaceOrdinal | Long | Index into the Names collection of the Name to replace. For Visual Basic the first ordinal value is number 1. For C++ the first ordinal value is 0. |