IWbsFieldsRepository.UpdateWithChangedMnemonics Method
Function UpdateWithChangedMnemonics( _
ByVal changedMenmonics As IDictionary(Of String, String) _
) As Boolean
This language is not supported or no code example is available.
Parameters
- changedMenmonics
- IDictionary<string, string>
Changed mnemonics. The key is an old mnemonic, the value is a new mnemonic.
Return Value
booltrue if any WBS field was modified by this method.
This method should be called when a mnemonic was changed for a WBS field(s).
A WBS field references other WBS fields with their mnemonics on several places. All those references need to be updated when a mnemonic was changed.
- Formula and conditional formula. Other fields are referenced as [mnemonic] in formulas.
- Progress field. Other fields are referenced by mnemonic in IWbsField.ProgressField property.
After the fields are updated (the method returned true), any existing instances of IWbsField, that were retrieved before, are no longer valid. This method automatically calls the Reload method to refresh the repository. So you need to get the fields from the repository again, e.g. with GetAllFields, to have the up to date data.