Method HasProperty
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
HasProperty(string)
Returns a value indicating whether the element has a property with the specified name.
public virtual bool HasProperty(string propertyName)
Parameters
propertyName
stringThe name of the property.
Returns
- bool
true
if the element has a property with the specified name; otherwise,false
.
Examples
Element element = engine.FindElement(400, 2000);
bool hasProperty = element.HasProperty("MyProperty");