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
propertyNamestringThe name of the property.
Returns
- bool
trueif the element has a property with the specified name; otherwise,false.
Examples
var dummy = engine.GetDummy("dummy1");
bool hasProperty = dummy.HasProperty("MyProperty");