Method GetInterface
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
GetInterface(int)
Retrieves the specified DCF interface.
public virtual Interface GetInterface(int interfaceID)
Parameters
interfaceID
intThe interface ID.
Returns
Examples
Element element = engine.FindElement(400, 2000);
var interface = element.GetInterface(1);
Remarks
note
Note that the method caches the interface the first time it is retrieved, and the interface will not be updated if it changes while the script is running.
GetInterface(string)
Retrieves the specified DCF interface.
public virtual Interface GetInterface(string customName)
Parameters
customName
stringThe name of the interface.
Returns
Examples
Element element = engine.FindElement(400, 2000);
var interface = element.GetInterface("MyInterface");
Remarks
note
Note that the method caches the interface the first time it is retrieved, and the interface will not be updated if it changes while the script is running.