Skip to content

Commit

Permalink
Update NodeID sample comment (#1820)
Browse files Browse the repository at this point in the history
The sample included a fully named NodeId but the Format() uses the information already included in the instance. It might be easier to understand, if there is another sample and a node. Thus we can avoid confusion.
  • Loading branch information
joern-schlingensiepen committed May 13, 2022
1 parent a16accf commit a7cfe2f
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Stack/Opc.Ua.Core/Types/BuiltIn/ExpandedNodeId.cs
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,19 @@ internal string IdentifierText
/// NodeId = "hello123"<br/>
/// NamespaceUri = "http://mycompany/"<br/>
/// <br/> This would translate into:<br/>
/// nsu=http://mycompany/;str=hello123
/// <br/></para>
/// nsu=http://mycompany/;s=hello123
/// <br/>
/// </para>
/// <para>
/// NodeId = 5<br/>
/// NamespaceIndex = 2<br/>
/// <br/> This would translate into:<br/>
/// ns=2;i=5
/// <br/>
/// </para>
/// <para>
/// Note: Only information already included in the ExpandedNodeId-Instance will be included in the result
/// </para>
/// </remarks>
public string Format()
{
Expand Down

0 comments on commit a7cfe2f

Please sign in to comment.