Search Results for

    Show / Hide Table of Contents

    Class Attribute

    Contains description of the Attribute for Configuration Domain. This cannot be used to read/write the value of attribute. In order to read and write attribute value use the GetAttribute() and SetAttribute() methods of Instance class respectively.

    Inheritance
    System.Object
    NamedObject
    SDKBase
    SDKControllerBoundBase
    Attribute
    Implements
    System.IComparable
    INamedObject
    System.IDisposable
    Inherited Members
    SDKControllerBoundBase.Controller
    SDKBase.Dispose()
    SDKBase.Dispose(Boolean)
    NamedObject.Equals(String)
    NamedObject.Equals(NamedObject)
    NamedObject.Equals(Object)
    NamedObject.CompareTo(String)
    NamedObject.CompareTo(NamedObject)
    NamedObject.CompareTo(Object)
    NamedObject.GetHashCode()
    NamedObject.ToString()
    NamedObject.Name
    Namespace: ABB.Robotics.Controllers.ConfigurationDomain
    Assembly: ABB.Robotics.Controllers.PC.dll
    Syntax
    public class Attribute : SDKControllerBoundBase, IComparable, INamedObject, IDisposable

    Properties

    InitialValue

    Gets the initial value of the attribute.

    Declaration
    public object InitialValue { get; }
    Property Value
    Type Description
    System.Object

    Mandatory

    Use this flag to determine if the attribute is mandatory or not.

    Declaration
    public bool Mandatory { get; }
    Property Value
    Type Description
    System.Boolean

    MaxValue

    Gets the maximum value of the attribute.

    Declaration
    public object MaxValue { get; }
    Property Value
    Type Description
    System.Object

    MinValue

    Gets the minimum value of the attribute.

    Declaration
    public object MinValue { get; }
    Property Value
    Type Description
    System.Object

    NativeType

    Gets the native type of the attribute.

    Declaration
    [Obsolete("No longer supported")]
    public VarEnum NativeType { get; }
    Property Value
    Type Description
    System.Runtime.InteropServices.VarEnum

    Size

    Gets the size of the attribute. 1 is a single value, all others are arrays.

    Declaration
    public int Size { get; }
    Property Value
    Type Description
    System.Int32

    Type

    Gets the parent type of this attribute.

    Declaration
    public Type Type { get; }
    Property Value
    Type Description
    Type

    TypeCode

    Gets the TypeCode of the attribute.

    Declaration
    public TypeCode TypeCode { get; }
    Property Value
    Type Description
    System.TypeCode

    Unit

    Gets the unit of the attribute.

    Declaration
    public object Unit { get; }
    Property Value
    Type Description
    System.Object

    Methods

    Accept(IMetadataVisitor)

    Accepts a visitor object.

    Declaration
    public void Accept(IMetadataVisitor visitor)
    Parameters
    Type Name Description
    IMetadataVisitor visitor

    Visitor object.

    Implements

    System.IComparable
    INamedObject
    System.IDisposable
    In This Article
    Back to top Copyright © 2025 ABB