Harness proD API Help
EPLAN.Harness.API.ApiProperties Namespace / BooleanProperty Class
Members Example
In This Topic
    BooleanProperty Class
    In This Topic
    Property which stores System.Boolean value.
    Object Model
    BooleanProperty ClassPropertyValue Class
    Inheritance Hierarchy

    System.Object
       EPLAN.Harness.API.ApiProperties.Property
          EPLAN.Harness.API.ApiProperties.BooleanProperty

    Syntax
    public class BooleanProperty : Property 
    Remarks

    Represents a property with boolean value.

    Example
    The following example shows how to use the class BooleanProperty.
    BooleanProperty boolProperty1 = new BooleanProperty(true);
    BooleanProperty boolProperty2 = false;
    
    Console.WriteLine(boolProperty1);
    Console.WriteLine(boolProperty2.ToString());
    Console.WriteLine(boolProperty1.Value.ToString());
    Console.WriteLine(boolProperty2.Value.ToString());
    Console.WriteLine(true == boolProperty1.Value);
    Console.WriteLine(true == boolProperty2.Value);
    
    // Results:
    // True
    // False
    // True
    // False
    // True
    // False
    Public Constructors
     NameDescription
    Public ConstructorOverloaded.   
    Top
    Public Properties
     NameDescription
    Public Property Specifies whether the property is interval. (Inherited from EPLAN.Harness.API.ApiProperties.Property)
    Public Property Unit of the value of this property. (Inherited from EPLAN.Harness.API.ApiProperties.Property)
    Public Property Gets the value of this property. (Inherited from EPLAN.Harness.API.ApiProperties.Property)
    Top
    Public Methods
     NameDescription
    Public MethodIs this property equal to the following object?  
    Public MethodServes as the default hash function.  
    Public MethodReturns a string that represents the current object. (Inherited from EPLAN.Harness.API.ApiProperties.Property)
    Top
    Public Operators
    Are these properties equal?
    Overloaded. Implicit conversion from System.Boolean to BooleanProperty.
    Are these properties not equal?
    Negates the BooleanProperty.
    Top
    See Also