Search Results for

    Show / Hide Table of Contents

    Class ReadOnlyObject

    ReadOnlyObject is a special object that may be Readonly to enable immutable objects even though properties have set operations. Will throw an InvalidOperationException if write is attempted when object is in ReadOnly mode.

    Inheritance
    object
    ReadOnlyObject
    NetworkSettingsInfo
    ServiceInfo
    ApplicationGrantInfo
    GrantConfiguration
    GrantInfo
    ListValue
    UasVersion
    Implements
    IDeserializationCallback
    Namespace: ABB.Robotics.Controllers
    Assembly: ABB.Robotics.Controllers.PC.dll
    Syntax
    public abstract class ReadOnlyObject : IDeserializationCallback

    Constructors

    View Source

    ReadOnlyObject()

    Initializes a new instance of the ReadOnlyObject class.

    Declaration
    protected ReadOnlyObject()
    View Source

    ReadOnlyObject(bool)

    Initializes a new instance of the ReadOnlyObject class.

    Declaration
    protected ReadOnlyObject(bool isReadonly)
    Parameters
    Type Name Description
    bool isReadonly

    if set to true [is readonly].

    Properties

    View Source

    IsReadOnly

    Gets a value indicating whether this instance is read only.

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

    true if this instance is read only; otherwise, false.

    Methods

    View Source

    DemandWriteAccess()

    Demands write access to object.

    Declaration
    protected void DemandWriteAccess()

    Implements

    IDeserializationCallback
    • View Source
    In this article
    Back to top Copyright © 2026 ABB Robotics