adTempus API
ArcanaDevelopment.adTempus.Client Namespace / ADTObject Class / Duplicate Method

In This Topic
    Duplicate Method (ADTObject)
    In This Topic
    Creates a new object that is a copy of the source object.
    Syntax
    'Declaration
     
    
    Public Function Duplicate() As ADTObject
    public ADTObject Duplicate()

    Return Value

    Returns an ADTObject that is a duplicate of the source object.
    Remarks
    Use the Duplicate method when you want to create a new object based on an existing object. For example, if you want to create a new job that is similar to an existing one, you would use the Duplicate method. The new object generally is a complete copy of the source object (including all properties and collections), with a new OID. For some classes the copy is not exact. For example, when you duplicate a job, the new copy does not get the old job's history, log messages, or status.
    See Also