public TranslateNamespaceIndexes ( Opc.Ua.NamespaceTable currentTable, Opc.Ua.NamespaceTable targetTable ) : void | ||
currentTable | Opc.Ua.NamespaceTable | The NamespaceTable which the RelativePathString currently references |
targetTable | Opc.Ua.NamespaceTable | The NamespaceTable which the RelativePathString should reference |
Résultat | void |
/// <summary> /// Parses a string representing a relative path and translates the namespace indexes. /// </summary> /// <remarks> /// Parses a string representing a relative path. /// </remarks> /// <exception cref="ServiceResultException">Thrown if any errors occur during parsing</exception> public static RelativePathFormatter Parse(string textToParse, NamespaceTable currentTable, NamespaceTable targetTable) { RelativePathFormatter path = Parse(textToParse); if (path != null) { path.TranslateNamespaceIndexes(currentTable, targetTable); } return(path); }