IUANode.GetAlias(aliasName)
Returns a C# object that corresponds to the node pointed to by the alias that is indicated as the argument.
IUANode GetAlias(stringaliasName);
Arguments
- aliasName(string)
- Can be either:
- TheBrowseNameof the Alias
- The path to the node in the information model, uniquely expressed as a sequence ofBrowseNames separated by/
Returns
- IUANode
- A C# object that matches the requested node.
Example
The following example shows a returned C# object that corresponds to the node pointed to by the
Alias1
alias:
var modelFolder = Project.Current.Get("Model"); var alias = modelFolder.GetAlias("Alias1");
Provide Feedback