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(string aliasName);
Arguments
aliasName(string)-
Can be either:
- The
BrowseNameof the Alias - The path to the node in the information model, uniquely expressed as a sequence of
BrowseNames separated by/
- The
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");
