Table of Contents

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 string

The name of the property.

Returns

bool

true if the element has a property with the specified name; otherwise, false.

Examples

var dummy = engine.GetDummy("dummy1");
bool hasProperty = dummy.HasProperty("MyProperty");