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

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

    Syntax
    public class TextProperty : Property 
    Remarks

    Represents a property with a text value.

    Example
    The following example shows how to use the class TextProperty.
    TextProperty textProperty1 = new TextProperty("Text1");
    TextProperty textProperty2 = "Text2";
    
    Console.WriteLine(textProperty1);
    Console.WriteLine(textProperty2.ToString());
    Console.WriteLine(textProperty1.Value.ToString());
    Console.WriteLine(textProperty2.Value.ToString());
    Console.WriteLine("Text1" == textProperty1.Value);
    Console.WriteLine("Text" == textProperty2.Value);
    
    // Results:
    // Text1
    // Text2
    // Text1
    // Text2
    // 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.String to TextProperty.
    Are these properties not equal?
    Top
    See Also