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
    BrowseName
    of the Alias
  • The path to the node in the information model, uniquely expressed as a sequence of
    BrowseName
    s 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
Have questions or feedback about this documentation? Please submit your feedback here.